Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[extension-types] Specify that it is not an error to declare an external variable #3301

Closed
eernstg opened this issue Aug 23, 2023 · 1 comment · Fixed by #3303
Closed

[extension-types] Specify that it is not an error to declare an external variable #3301

eernstg opened this issue Aug 23, 2023 · 1 comment · Fixed by #3303
Labels
bug There is a mistake in the language specification or in an active document extension-types specification

Comments

@eernstg
Copy link
Member

eernstg commented Aug 23, 2023

The feature specification about extension types currently says that

A compile-time error occurs if the extension type declaration declares any instance variables.

This should be extended to say that external instance variable is not an error, both final and non-final.

@eernstg eernstg added bug There is a mistake in the language specification or in an active document specification extension-types labels Aug 23, 2023
@eernstg
Copy link
Member Author

eernstg commented Aug 23, 2023

Cf. #3303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There is a mistake in the language specification or in an active document extension-types specification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant