You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
||> List.foldBack (fun id (cpath,moduleContents)->(cpath.ParentCompPath, wrapModuleOrNamespaceContentsInNamespace isModule id cpath.ParentCompPath moduleContents))
261
261
|> snd
262
262
263
-
/// Try to take the "FSINNN" prefix off a namespace path
263
+
/// Try to take the "FSI_NNN" prefix off a namespace path
Copy file name to clipboardExpand all lines: tests/FSharp.Compiler.ComponentTests/Scripting/Interactive.fs
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,11 @@ namespace Scripting
5
5
openXunit
6
6
openSystem
7
7
openFSharp.Test.Compiler
8
+
openFSharp.Compiler.Interactive.Shell
9
+
openFSharp.Test.ScriptHelpers
8
10
9
11
module``Interactivetests`` =
12
+
10
13
[<Fact>]
11
14
let``Eval object value``()=
12
15
Fsx "1+1"
@@ -31,6 +34,35 @@ module ``Interactive tests`` =
31
34
(Warning 2304, Line 1, Col 3, Line 1, Col 13,"Functions with [<EntryPoint>] are not invoked in FSI. 'myFunc' was not invoked. Execute 'myFunc <args>' in order to invoke 'myFunc' with the appropriate string array of command line arguments.")
32
35
]
33
36
37
+
[<Theory>]
38
+
[<InlineData(true)>]
39
+
[<InlineData(false)>]
40
+
let``Evaluation of multiple sessions should succeed`` (useMultiEmit)=
0 commit comments