Skip to content

Commit a71b874

Browse files
committed
unified: Record spurious result from lack of shadowing
The spurious result is offered by the folder-based heuristic, but would have been blocked by proper shadowing support.
1 parent 6b1a4d3 commit a71b874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unified/ql/test/library-tests/static-name-binding/unqualified-access.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ASub : A { // $ access=A
1010

1111
class BSub : B { // $ access=A.B
1212
let x3: B = nil; // $ access=A.B
13-
let x4: C = nil; // $ access=A.B.C
13+
let x4: C = nil; // $ access=A.B.C SPURIOUS: access=Target3.C // spurious result from folder-based heuristic
1414
}
1515

1616
class BSub2 : B { // $ access=A.B

0 commit comments

Comments
 (0)