-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Incorrect definition in the section 7(Classes) of the language specification #497
Comments
This comment was originally written by [email protected] Added Area-Language, Triaged labels. |
This comment was originally written by [email protected] In 'MethodSignature' definition: |
Here's the latest from the 0.07 draft: methodSignature: declaration: Note that getterSignature and setterSignature already incorporate the optional static prefix so that comment was invalid. |
dartdoc (https://github.com/dart-lang/dartdoc/compare/62bc150..866338f): 866338f1 2022-09-29 Sam Rawlins Bump to 6.1.2 (#3198) html (https://github.com/dart-lang/html/compare/8243e96..faafebf): faafebf 2022-09-29 Devon Carew Merge pull request #188 from dart-lang/update_readme d27b898 2022-09-29 Devon Carew Merge pull request #189 from dart-lang/update_ci 5a0be75 2022-09-29 Devon Carew update to our current CI best practices 4185afd 2022-09-29 Devon Carew add markdown badges to the readme intl (https://github.com/dart-lang/intl/compare/5464b3b..7639a15): 7639a15 2022-09-27 Nate Bosch Simplify the IntlStream class (#494) a4b44a9 2022-09-27 Lasse R.H. Nielsen Cleanup of `var this.`, dynamic parameters, and more (#497) mime (https://github.com/dart-lang/mime/compare/0a75a41..bf041aa): bf041aa 2022-09-26 Devon Carew update action versions; add dependabot config (#69) usage (https://github.com/dart-lang/usage/compare/e287a72..9a98c89): 9a98c89 2022-09-29 Devon Carew whitespace change to the LICENSE file (#182) cf284c7 2022-09-29 Kevin Moore analysis options and lint cleanup (#183) Change-Id: I0a6bd0de7bc75cd84b20e1de6f0463544ac68a70 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262020 Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Kevin Moore <[email protected]> Auto-Submit: Devon Carew <[email protected]>
This issue was originally filed by [email protected]
Specification defines in section 7:
classMemberDefinition:
declaration ';' |
methodSignature functionBody
;
declaration:
constantConstructorSignature (redirection | initializers)? |
constructorSignature (redirection | initializers)? ...
According to this a constructor with initializers can't have a body.
Also there are 'functionSignature redirection' and 'functionSignature initializers'. It seems that functionSignature should be replaced with constructorSignature.
The text was updated successfully, but these errors were encountered: