We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e6c871 + 3225b45 commit a5a2bd1Copy full SHA for a5a2bd1
1 file changed
tests/ParallelTypeCheckingTests/Tests/TestCompilation.fs
@@ -194,13 +194,40 @@ let d (c: CType) =
194
]
195
|> FProject.Make CompileOutput.Library
196
197
+ let failingIlGenShadowedStaticMethods =
198
+ [
199
+ "Bar.fsi",
200
+ """
201
+module Bar
202
+
203
+type Bar =
204
+ new: unit -> Bar
205
+ static member Foo: unit -> unit
206
207
+val Foo: unit -> unit
208
+"""
209
+ "Bar.fs",
210
211
212
213
+type Bar() =
214
+ static member Foo () : unit =
215
+ failwith ""
216
217
+let Foo () : unit =
218
+ Bar.Foo ()
219
220
+ ]
221
+ |> FProject.Make CompileOutput.Library
222
223
let all =
224
[
225
encodeDecodeSimple
226
diamondBroken1
227
fsFsi
228
emptyNamespace
229
dependentSignatures
230
+ failingIlGenShadowedStaticMethods
231
232
233
type Case =
0 commit comments