Skip to content

Fix :: FAR :: Remove corrupted .ctor symbol reference#19358

Merged
T-Gro merged 6 commits intomainfrom
fix/symbols-duplicate-ctor
Feb 26, 2026
Merged

Fix :: FAR :: Remove corrupted .ctor symbol reference#19358
T-Gro merged 6 commits intomainfrom
fix/symbols-duplicate-ctor

Conversation

@T-Gro
Copy link
Member

@T-Gro T-Gro commented Feb 25, 2026

Fixes #19336

@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/10.0.300.md

@T-Gro
Copy link
Member Author

T-Gro commented Feb 25, 2026

I noticed some additional double reporting while fixing this, going older and caused by repeated Tc.Attrs. calls.
Will also suppress sink reporting in those calls.

(they had the right ranges, but were duplicates still)

…t/fsharp into fix/symbols-duplicate-ctor

# Conflicts:
#	tests/FSharp.Compiler.ComponentTests/FSharpChecker/FindReferences.fs
…licate attribute entries

The PR removes the ForNewConstructors shifted-range hack (#14902) and
suspends the sink during checkAttributeTargetsErrors, so tests no longer
see those duplicate/corrupted symbol references.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro marked this pull request as ready for review February 26, 2026 10:09
@T-Gro T-Gro requested a review from a team as a code owner February 26, 2026 10:09
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro requested a review from abonie February 26, 2026 10:12
@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Feb 26, 2026
@T-Gro T-Gro enabled auto-merge (squash) February 26, 2026 11:29
@T-Gro T-Gro merged commit d6219bf into main Feb 26, 2026
44 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling Feb 26, 2026
@T-Gro T-Gro deleted the fix/symbols-duplicate-ctor branch February 26, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Regression: symbols include corrupted duplicate constructor symbol for attribute

3 participants