Skip to content

Commit 5995342

Browse files
authored
Enable various variables and factories with no implementation, awaiting augmentation (#4106)
1 parent 13277c3 commit 5995342

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

working/augmentation-libraries/feature-specification.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ topLevelDeclaration ::= classDeclaration
11341134
| 'augment'? functionSignature functionBody
11351135
| 'augment'? getterSignature functionBody
11361136
| 'augment'? setterSignature functionBody
1137-
| 'augment'? ('final' | 'const') type? staticFinalDeclarationList ';'
1137+
| 'augment'? ('final' | 'const') type? initializedIdentifierList ';'
11381138
| 'augment'? 'late' 'final' type? initializedIdentifierList ';'
11391139
| 'augment'? 'late'? varOrType initializedIdentifierList ';'
11401140
@@ -1179,17 +1179,17 @@ enumEntry ::= metadata 'augment'? identifier argumentPart?
11791179
| metadata 'augment'? identifier typeArguments?
11801180
'.' identifierOrNew arguments
11811181
1182-
declaration ::= 'external' factoryConstructorSignature
1182+
declaration ::= 'external'? factoryConstructorSignature
11831183
| 'external' constantConstructorSignature
11841184
| 'external' constructorSignature
1185-
| ('external' 'static'?)? getterSignature
1186-
| ('external' 'static'?)? setterSignature
1187-
| ('external' 'static'?)? functionSignature
1185+
| 'external'? 'static'? getterSignature
1186+
| 'external'? 'static'? setterSignature
1187+
| 'external'? 'static'? functionSignature
11881188
| 'external' ('static'? finalVarOrType | 'covariant' varOrType) identifierList
11891189
| 'external'? operatorSignature
11901190
| 'abstract' (finalVarOrType | 'covariant' varOrType) identifierList
1191-
| 'augment'? 'static' 'const' type? staticFinalDeclarationList
1192-
| 'augment'? 'static' 'final' type? staticFinalDeclarationList
1191+
| 'augment'? 'static' 'const' type? initializedIdentifierList
1192+
| 'augment'? 'static' 'final' type? initializedIdentifierList
11931193
| 'augment'? 'static' 'late' 'final' type? initializedIdentifierList
11941194
| 'augment'? 'static' 'late'? varOrType initializedIdentifierList
11951195
| 'augment'? 'covariant' 'late' 'final' type? identifierList

0 commit comments

Comments
 (0)