We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6091eef commit af82971Copy full SHA for af82971
accepted/future-releases/extension-types/feature-specification.md
@@ -429,7 +429,10 @@ disambiguate the extension type declaration with a fixed lookahead.*
429
Some errors can be detected immediately from the syntax:
430
431
A compile-time error occurs if the extension type declaration declares any
432
-instance variables.
+instance variables, unless they are `external`.
433
+
434
+*An external instance variable is just a convenient notation for an external
435
+getter and (if not `final`) an external setter. They are allowed.*
436
437
The _name of the representation_ in an extension type declaration with a
438
representation declaration of the form `(T id)` is the identifier `id`, and
0 commit comments