Skip to content

Commit a5a2bd1

Browse files
committed
Merge branch 'graph-tc' into cleanup-processing
2 parents 9e6c871 + 3225b45 commit a5a2bd1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

tests/ParallelTypeCheckingTests/Tests/TestCompilation.fs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,40 @@ let d (c: CType) =
194194
]
195195
|> FProject.Make CompileOutput.Library
196196

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+
module Bar
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+
197223
let all =
198224
[
199225
encodeDecodeSimple
200226
diamondBroken1
201227
fsFsi
202228
emptyNamespace
203229
dependentSignatures
230+
failingIlGenShadowedStaticMethods
204231
]
205232

206233
type Case =

0 commit comments

Comments
 (0)