Skip to content

Add diagnostic for abstract members with bodies#215

Open
bioball wants to merge 1 commit into
apple:mainfrom
bioball:abstract-member-with-body
Open

Add diagnostic for abstract members with bodies#215
bioball wants to merge 1 commit into
apple:mainfrom
bioball:abstract-member-with-body

Conversation

@bioball

@bioball bioball commented Jun 12, 2026

Copy link
Copy Markdown
Member

This is already an error in the language, but is missing as a diagnostic.

This is already an error in the language, but is missing as a diagnostic.
@bioball bioball force-pushed the abstract-member-with-body branch from 13c9718 to 7c63853 Compare June 12, 2026 20:24
TokenSet.create(ABSTRACT, EXTERNAL, HIDDEN, LOCAL, FIXED, CONST)
private val OBJECT_METHOD_MODIFIERS = TokenSet.create(LOCAL, CONST)
private val OBJECT_PROPERTY_MODIFIERS = TokenSet.create(LOCAL, CONST)
private object ModifierSets {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated: resolve editor warning (only const members are allowed inside companion objects of extension points)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant