diff --git a/vsintegration/tests/unittests/UnusedOpensTests.fs b/vsintegration/tests/unittests/UnusedOpensTests.fs index bb64f920faad125fdad77dd82b10540aca56e410..991558879899a5e834ddcab22526f0ad8df07ccc 100644 --- a/vsintegration/tests/unittests/UnusedOpensTests.fs +++ b/vsintegration/tests/unittests/UnusedOpensTests.fs @@ -723,3 +723,17 @@ module Test = let xs = [] """ => [ 2, (5, 16) ] + +[] +let ``a type from an auto open module is taken into account``() = + """ +module M1 = + [] + module AutoOpened = + type T() = class end + +module M2 = + open M1 + let _ = T() +""" + => [] \ No newline at end of file