Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Compiler/Checking/NicePrint.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2433,7 +2433,7 @@ module InferredSigPrinting =
wordL (tagKeyword keyword) ^^ sepListL SepL.dot pathL

match expr with
| EmptyModuleOrNamespaces mspecs ->
| EmptyModuleOrNamespaces mspecs when showHeader ->
List.map emptyModuleOrNamespace mspecs
|> aboveListL
| expr -> imdefL denv expr
Expand Down
4 changes: 1 addition & 3 deletions tests/fsharp/core/load-script/out.stdout.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ World
-the end
Test 3=================================================

> module FSI_0001

[Loading D:\staging\staging\src\tests\fsharp\core\load-script\1.fsx
> [Loading D:\staging\staging\src\tests\fsharp\core\load-script\1.fsx
Loading D:\staging\staging\src\tests\fsharp\core\load-script\2.fsx
Loading D:\staging\staging\src\tests\fsharp\core\load-script\3.fsx]
Hello
Expand Down
6 changes: 1 addition & 5 deletions tests/fsharp/core/printing/output.1000.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

module FSI_0001

> val it: unit = ()

> val repeatId: string = "A"
Expand Down Expand Up @@ -236,9 +234,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0020

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down
6 changes: 1 addition & 5 deletions tests/fsharp/core/printing/output.200.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

module FSI_0001

> val it: unit = ()

> val repeatId: string = "A"
Expand Down Expand Up @@ -131,9 +129,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0020

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down
8 changes: 2 additions & 6 deletions tests/fsharp/core/printing/output.47.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

> module FSI_0001

val repeatId: string = "A"
> val repeatId: string = "A"

> val repeatId: string = "B"

Expand Down Expand Up @@ -251,9 +249,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0019

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down
8 changes: 2 additions & 6 deletions tests/fsharp/core/printing/output.multiemit.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

> module FSI_0001

val repeatId: string = "A"
> val repeatId: string = "A"

> val repeatId: string = "B"

Expand Down Expand Up @@ -251,9 +249,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0019

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down
6 changes: 1 addition & 5 deletions tests/fsharp/core/printing/output.off.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

module FSI_0001

> val it: unit = ()

> val repeatId: string
Expand Down Expand Up @@ -96,9 +94,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0020

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down
8 changes: 2 additions & 6 deletions tests/fsharp/core/printing/output.stdout.bsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

> module FSI_0001

val repeatId: string = "A"
> val repeatId: string = "A"

> val repeatId: string = "B"

Expand Down Expand Up @@ -251,9 +249,7 @@ module D1 =
val words: System.Collections.Generic.IDictionary<string,int>
val words2000: System.Collections.Generic.IDictionary<int,string>

> module FSI_0019

> module D2 =
> > module D2 =
val words: IDictionary<string,int>
val words2000: IDictionary<int,string>
val opt1: 'a option
Expand Down