Skip to content

Remove expression statement restriction from dot shorthands spec - #4745

Open
parlough wants to merge 1 commit into
dart-lang:mainfrom
parlough:feat/remove-dot-shorthand-statement-restriction
Open

Remove expression statement restriction from dot shorthands spec#4745
parlough wants to merge 1 commit into
dart-lang:mainfrom
parlough:feat/remove-dot-shorthand-statement-restriction

Conversation

@parlough

@parlough parlough commented Aug 11, 2026

Copy link
Copy Markdown
Member

Removes the restriction that suggested preventing expression statements from beginning with a dot (.) and therefore static member shorthands, to match the existing implementations which didn't implement the restriction.

Resolves dart-lang/sdk#64009

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.

CFE and analyzer allow dot shorthand at beginning of expression statement

1 participant