Skip to content

Commit 3d3d227

Browse files
authored
allow augmenting all types of constructors (#2172)
1 parent 794d1cb commit 3d3d227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

working/augmentation-libraries/feature-specification.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,9 @@ declaration ::= 'external' factoryConstructorSignature
604604
| 'augment'? 'covariant' 'late'? varOrType initializedIdentifierList
605605
| 'augment'? 'late'? 'final' type? initializedIdentifierList
606606
| 'augment'? 'late'? varOrType initializedIdentifierList
607-
| redirectingFactoryConstructorSignature
608-
| constantConstructorSignature (redirection | initializers)?
609-
| constructorSignature (redirection | initializers)?
607+
| 'augment'? redirectingFactoryConstructorSignature
608+
| 'augment'? constantConstructorSignature (redirection | initializers)?
609+
| 'augment'? constructorSignature (redirection | initializers)?
610610
```
611611

612612
**TODO: Define the grammar for the various `augment super` expressions.**

0 commit comments

Comments
 (0)