Skip to content

Commit 5030e29

Browse files
JanWosnitzacartermp
authored andcommitted
Dynamic compiling in Unity Player (2019.1.6f1) (#7427)
* add type annotation * annotate parameter * Update src/fsharp/NameResolution.fs Co-Authored-By: Phillip Carter <pcarter@fastmail.com>
1 parent 20ab6da commit 5030e29

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/fsharp/NameResolution.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,8 @@ let rec ResolveLongIndentAsModuleOrNamespace sink atMostOne amap m first fullyQu
18941894
| _ -> raze (namespaceNotFound.Force())
18951895

18961896

1897-
let ResolveLongIndentAsModuleOrNamespaceThen sink atMostOne amap m fullyQualified (nenv: NameResolutionEnv) ad id rest isOpenDecl f =
1897+
// Note - 'rest' is annotated due to a bug currently in Unity (see: https://github.com/dotnet/fsharp/pull/7427)
1898+
let ResolveLongIndentAsModuleOrNamespaceThen sink atMostOne amap m fullyQualified (nenv: NameResolutionEnv) ad id (rest: Ident list) isOpenDecl f =
18981899
match ResolveLongIndentAsModuleOrNamespace sink ResultCollectionSettings.AllResults amap m true fullyQualified nenv ad id [] isOpenDecl with
18991900
| Result modrefs ->
19001901
match rest with

0 commit comments

Comments
 (0)