Commit f4e50e2 1 parent 33b858a commit f4e50e2 Copy full SHA for f4e50e2
File tree 4 files changed +42
-50
lines changed
tests/specs/references/typeLiteral/argumentsInMethod
4 files changed +42
-50
lines changed Original file line number Diff line number Diff line change @@ -1366,8 +1366,6 @@ let rec private transformToFsharp
1366
1366
function
1367
1367
1368
1368
| GlueType.Interface interfaceInfo ->
1369
- let context = context.PushScope( interfaceInfo.Name)
1370
-
1371
1369
FSharpType.Interface( transformInterface context interfaceInfo)
1372
1370
1373
1371
| GlueType.Enum enumInfo -> transformEnum enumInfo
Original file line number Diff line number Diff line change @@ -7,35 +7,33 @@ open System
7
7
[<AllowNullLiteral>]
8
8
[<Interface>]
9
9
type Locale =
10
- abstract member hello: config : Locale.Locale. hello.config -> string
10
+ abstract member hello: config : Locale.hello.config -> string
11
11
12
12
module Locale =
13
13
14
- module Locale =
14
+ module hello =
15
15
16
- module hello =
16
+ [<Global>]
17
+ [<AllowNullLiteral>]
18
+ type config
19
+ [<ParamObject; Emit( " $0" ) >]
20
+ (
21
+ verbose: Locale.hello.config.verbose
22
+ ) =
23
+
24
+ member val verbose : Locale.hello.config.verbose = nativeOnly with get, set
25
+
26
+ module config =
17
27
18
28
[<Global>]
19
29
[<AllowNullLiteral>]
20
- type config
30
+ type verbose
21
31
[<ParamObject; Emit( " $0" ) >]
22
32
(
23
- verbose: Locale.Locale.hello.config.verbose
33
+ verbose: bool
24
34
) =
25
35
26
- member val verbose : Locale.Locale.hello.config.verbose = nativeOnly with get, set
27
-
28
- module config =
29
-
30
- [<Global>]
31
- [<AllowNullLiteral>]
32
- type verbose
33
- [<ParamObject; Emit( " $0" ) >]
34
- (
35
- verbose: bool
36
- ) =
37
-
38
- member val verbose : bool = nativeOnly with get, set
36
+ member val verbose : bool = nativeOnly with get, set
39
37
40
38
(***)
41
39
#r " nuget: Fable.Core"
Original file line number Diff line number Diff line change @@ -7,23 +7,21 @@ open System
7
7
[<AllowNullLiteral>]
8
8
[<Interface>]
9
9
type Locale =
10
- abstract member hello: config : Locale.Locale. hello.config -> string
10
+ abstract member hello: config : Locale.hello.config -> string
11
11
12
12
module Locale =
13
13
14
- module Locale =
14
+ module hello =
15
15
16
- module hello =
16
+ [<Global>]
17
+ [<AllowNullLiteral>]
18
+ type config
19
+ [<ParamObject; Emit( " $0" ) >]
20
+ (
21
+ verbose: bool
22
+ ) =
17
23
18
- [<Global>]
19
- [<AllowNullLiteral>]
20
- type config
21
- [<ParamObject; Emit( " $0" ) >]
22
- (
23
- verbose: bool
24
- ) =
25
-
26
- member val verbose : bool = nativeOnly with get, set
24
+ member val verbose : bool = nativeOnly with get, set
27
25
28
26
(***)
29
27
#r " nuget: Fable.Core"
Original file line number Diff line number Diff line change @@ -7,27 +7,25 @@ open System
7
7
[<AllowNullLiteral>]
8
8
[<Interface>]
9
9
type Locale =
10
- abstract member hello: config : Locale.Locale. hello.config -> string
10
+ abstract member hello: config : Locale.hello.config -> string
11
11
12
12
module Locale =
13
13
14
- module Locale =
15
-
16
- module hello =
17
-
18
- [<Global>]
19
- [<AllowNullLiteral>]
20
- type config
21
- [<ParamObject; Emit( " $0" ) >]
22
- (
23
- verbose: bool,
24
- ?prefix: string,
25
- ?suffix: string
26
- ) =
27
-
28
- member val verbose : bool = nativeOnly with get, set
29
- member val prefix : string option = nativeOnly with get, set
30
- member val suffix : string option = nativeOnly with get, set
14
+ module hello =
15
+
16
+ [<Global>]
17
+ [<AllowNullLiteral>]
18
+ type config
19
+ [<ParamObject; Emit( " $0" ) >]
20
+ (
21
+ verbose: bool,
22
+ ?prefix: string,
23
+ ?suffix: string
24
+ ) =
25
+
26
+ member val verbose : bool = nativeOnly with get, set
27
+ member val prefix : string option = nativeOnly with get, set
28
+ member val suffix : string option = nativeOnly with get, set
31
29
32
30
(***)
33
31
#r " nuget: Fable.Core"
You can’t perform that action at this time.
0 commit comments