We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e0df4b commit ad65c02Copy full SHA for ad65c02
tests/fsharp/core/fsiAndModifiers/test.fsx
@@ -86,6 +86,18 @@ module TestPack4 =
86
printfn "got %A" got
87
if got <> expected then fail (sprintf "TestPack4: got %A, expected %A" got expected)
88
89
+// See https://github.com/fsharp/fsharp/issues/483
90
+module TestFsiLoadOfNonExistentAssembly =
91
+ let test() =
92
+ try
93
+ let log4netType = System.Type.GetType("ThisTypeDoes.Not.Exist, thisAssemblyDoesNotExist")
94
+ let exists = log4netType <> null
95
+ if exists then fail (sprintf "type existed!")
96
+ do printfn "%A" exists
97
+ with e ->
98
+ fail (sprintf "exception unexpected: %s" e.Message)
99
+
100
+ do test()
101
102
if errors.IsEmpty then
103
System.IO.File.WriteAllText("test.ok", "")
0 commit comments