Skip to content

Commit b4aa00b

Browse files
committed
finish integration
1 parent 90e1558 commit b4aa00b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/fsharp/fsi/fsi.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,7 @@ type internal FsiDynamicCompiler
10741074

10751075
// Find all new declarations the EvaluationListener
10761076
begin
1077-
let (TAssembly(mimpls)) = declaredImpls
1078-
let contents = FSharpAssemblyContents(tcGlobals, tcState.Ccu, tcImports, mimpls)
1077+
let contents = FSharpAssemblyContents(tcGlobals, tcState.Ccu, tcImports, declaredImpls)
10791078
let contentFile = contents.ImplementationFiles.[0]
10801079
// Skip the "FSI_NNNN"
10811080
match contentFile.Declarations with

src/fsharp/vs/service.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ type FSharpProjectContext(thisCcu: CcuThunk, assemblies: FSharpAssembly list, ad
18001800

18011801
[<Sealed>]
18021802
// 'details' is an option because the creation of the tcGlobals etc. for the project may have failed.
1803-
type FSharpCheckProjectResults(keepAssemblyContents, errors: FSharpErrorInfo[], details:(TcGlobals*TcImports*CcuThunk*ModuleOrNamespaceType*TcSymbolUses list*TopAttribs option*CompileOps.IRawFSharpAssemblyData option * ILAssemblyRef * AccessorDomain * TypedAssembly option * string list) option, reactorOps: IReactorOperations) =
1803+
type FSharpCheckProjectResults(keepAssemblyContents, errors: FSharpErrorInfo[], details:(TcGlobals*TcImports*CcuThunk*ModuleOrNamespaceType*TcSymbolUses list*TopAttribs option*CompileOps.IRawFSharpAssemblyData option * ILAssemblyRef * AccessorDomain * TypedImplFile list option * string list) option, reactorOps: IReactorOperations) =
18041804

18051805
let getDetails() =
18061806
match details with
@@ -1821,7 +1821,7 @@ type FSharpCheckProjectResults(keepAssemblyContents, errors: FSharpErrorInfo[],
18211821
let mimpls =
18221822
match tcAssemblyExpr with
18231823
| None -> []
1824-
| Some (TAssembly mimpls) -> mimpls
1824+
| Some mimpls -> mimpls
18251825
FSharpAssemblyContents(tcGlobals, thisCcu, tcImports, mimpls)
18261826

18271827
// Not, this does not have to be a SyncOp, it can be called from any thread

0 commit comments

Comments
 (0)