We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e85538 commit 18ef04eCopy full SHA for 18ef04e
1 file changed
tests/ParallelTypeCheckingTests/Code/TrieApproach/DependencyResolution.fs
@@ -943,6 +943,28 @@ type A = { B : int }
943
module Product.Feature
944
945
let f a = a.B
946
+"""
947
+ (set [| 0 |])
948
+ ]
949
+ scenario
950
+ "Reference to property of static member from nested module is detected"
951
+ [
952
+ sourceFile
953
+ "A.fs"
954
+ """
955
+module A
956
+
957
+module B =
958
+ type Person = {Name : string}
959
+ type C =
960
+ static member D: Person = failwith ""
961
962
+ Set.empty
963
964
+ "B.fs"
965
966
+module B
967
+let person: string = A.B.C.D.Name
968
"""
969
(set [| 0 |])
970
]
0 commit comments