-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #237 - Problems using FSI on multiple namespaces in a single file
- Loading branch information
Showing
4 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
namespace Project | ||
|
||
type DU = A | B | ||
|
||
// See https://github.com/Microsoft/visualfsharp/issues/237 | ||
namespace Foo | ||
|
||
type Name = Name of string | ||
|
||
namespace Bar | ||
|
||
open Foo | ||
type Person = Person of Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
namespace Project | ||
|
||
type B = { Prop : DU } | ||
|
||
// See https://github.com/Microsoft/visualfsharp/issues/237 | ||
namespace Foo2 | ||
|
||
type Name = Name of string | ||
|
||
namespace Bar2 | ||
|
||
open Foo2 | ||
type Person = Person of Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
namespace Project | ||
|
||
type B = { Prop : DU } | ||
|
||
// See https://github.com/Microsoft/visualfsharp/issues/237 | ||
namespace Foo2 | ||
|
||
type Name = Name of string | ||
|
||
namespace Bar2 | ||
|
||
open Foo2 | ||
type Person = Person of Name |