Skip to content

Commit 3e298e0

Browse files
authored
Erase interfaces (#78)
1 parent 153c117 commit 3e298e0

File tree

14 files changed

+12
-174
lines changed

14 files changed

+12
-174
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
]
1010
},
1111
"fable": {
12-
"version": "4.0.0-theta-008",
12+
"version": "4.0.0-theta-010",
1313
"commands": [
1414
"fable"
1515
]
1616
},
1717
"fantomas": {
18-
"version": "5.0.0",
18+
"version": "5.0.2",
1919
"commands": [
2020
"fantomas"
2121
]

src/Fable.Python.fsproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
<Compile Include="flask/Flask.fs" />
3030
<Compile Include="jupyter/IPython.fs" />
3131
<Compile Include="jupyter/IPyWidgets.fs" />
32-
<Compile Include="microbit/MicroBit.fs" />
33-
<Compile Include="microbit/Speach.fs" />
3432
</ItemGroup>
3533
<ItemGroup>
3634
<Content Include="pyproject.toml; *.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />

src/microbit/MicroBit.fs

Lines changed: 0 additions & 159 deletions
This file was deleted.

src/microbit/Speach.fs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/stdlib/Ast.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ type Mode =
124124
| Exec
125125
| [<CompiledName("func_mode")>] FuncMode
126126

127+
[<Erase>]
127128
type IExports =
128129
/// Parse the source into an AST node
129130
abstract parse: string -> AST

src/stdlib/Base64.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ open Fable.Core
44

55
// fsharplint:disable MemberNames
66

7+
[<Erase>]
78
type IExports =
89
abstract b64encode : byte[] -> byte[]
910
abstract b64encode : s : byte[] * altchars: byte[] -> byte[]

src/stdlib/Builtins.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ module OpenTextMode =
156156

157157
type _Opener = Tuple<string, int> -> int
158158

159+
[<Erase>]
159160
type IExports =
160161
/// Return the absolute value of the argument.
161162
abstract abs: int -> int

src/stdlib/Html.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ open Fable.Core
44

55
// fsharplint:disable MemberNames
66

7+
[<Erase>]
78
type IExports =
89
abstract escape: string -> string
910
abstract escape: string * bool -> string
1011
abstract unescape: string -> string
1112

12-
/// Miscellaneous operating system interfaces
13+
/// HTML interfaces
1314
[<ImportAll("html")>]
1415
let html: IExports = nativeOnly

src/stdlib/Json.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ open Fable.Core
44

55
// fsharplint:disable MemberNames
66

7+
[<Erase>]
78
type IExports =
89
abstract dumps: obj: obj -> string
910
abstract loads: string -> obj

src/stdlib/Math.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ open Fable.Core
55

66
// fsharplint:disable MemberNames
77

8+
[<Erase>]
89
type IExports =
910
abstract ceil: int -> int
1011
abstract ceil: float -> int

0 commit comments

Comments
 (0)