Skip to content

Commit 8e69e46

Browse files
T-GroCopilot
andcommitted
Fix CI: update ProjectAnalysisTests to match synthetic auto-property symbols
Remove compiler-generated auto-property backing fields and setter parameter 'v' from expected symbol arrays in 'Test Project24 all symbols' and 'Test symbol uses of properties with both getters and setters'. These symbols are now correctly hidden by MakeSynthetic() ranges. Also merge with latest main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 79ed152 commit 8e69e46

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/FSharp.Compiler.Service.Tests/ProjectAnalysisTests.fs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3512,12 +3512,6 @@ let ``Test Project24 all symbols`` () =
35123512
("v", "file1", ((22, 17), (22, 18)), ["defn"], []);
35133513
("int", "file1", ((25, 21), (25, 24)), ["type"], ["abbrev"]);
35143514
("v", "file1", ((25, 18), (25, 19)), ["defn"], []);
3515-
("``AutoPropGet@``", "file1", ((27, 15), (27, 26)), [], ["compgen"]);
3516-
("``AutoPropGetSet@``", "file1", ((28, 15), (28, 29)), [], ["compgen"; "mutable"])
3517-
("v", "file1", ((28, 15), (28, 29)), ["defn"], []);
3518-
("``StaticAutoPropGet@``", "file1", ((30, 22), (30, 39)), [], ["compgen"]);
3519-
("``StaticAutoPropGetSet@``", "file1", ((31, 22), (31, 42)), [],
3520-
["compgen"; "mutable"]); ("v", "file1", ((31, 22), (31, 42)), ["defn"], []);
35213515
("``.cctor``", "file1", ((4, 5), (4, 23)), ["defn"], ["member"]);
35223516
("TypeWithProperties", "file1", ((33, 9), (33, 27)), [], ["member"; "ctor"]);
35233517
("NameGetSet", "file1", ((33, 9), (33, 40)), [], ["member"; "prop"]);
@@ -3614,12 +3608,6 @@ let ``Test symbol uses of properties with both getters and setters`` () =
36143608
("v", "file1", ((22, 17), (22, 18)), []);
36153609
("int", "file1", ((25, 21), (25, 24)), ["abbrev"]);
36163610
("v", "file1", ((25, 18), (25, 19)), []);
3617-
("``AutoPropGet@``", "file1", ((27, 15), (27, 26)), ["compgen"]);
3618-
("``AutoPropGetSet@``", "file1", ((28, 15), (28, 29)), ["compgen"; "mutable"]);
3619-
("v", "file1", ((28, 15), (28, 29)), []);
3620-
("``StaticAutoPropGet@``", "file1", ((30, 22), (30, 39)), ["compgen"]);
3621-
("``StaticAutoPropGetSet@``", "file1", ((31, 22), (31, 42)),
3622-
["compgen"; "mutable"]); ("v", "file1", ((31, 22), (31, 42)), []);
36233611
("``.cctor``", "file1", ((4, 5), (4, 23)), ["member"]);
36243612
("TypeWithProperties", "file1", ((33, 9), (33, 27)), ["member"; "ctor"]);
36253613
("NameGetSet", "file1", ((33, 9), (33, 40)), ["member"; "prop"]);

0 commit comments

Comments
 (0)