Skip to content

Report FS3888 for generic attribute type abbreviations instead of FS0193#19915

Open
T-Gro wants to merge 4 commits into
mainfrom
fix/issue-7877
Open

Report FS3888 for generic attribute type abbreviations instead of FS0193#19915
T-Gro wants to merge 4 commits into
mainfrom
fix/issue-7877

Conversation

@T-Gro

@T-Gro T-Gro commented Jun 9, 2026

Copy link
Copy Markdown
Member

Fixes #7877

type MyAttr<'T>() = inherit System.Attribute()
type B = MyAttr<int>
[<B>] let x = 1
// before: internal compiler error FS0193
// after:  FS3888 "Generic attributes are not supported..."

Copilot and others added 3 commits June 9, 2026 09:45
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…7877)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

❗ Release notes required

You can open this PR in browser to add release notes: open in github.dev


✅ Found changes and release notes in following paths:

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

@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

Error using type abbreviation for attribute

1 participant