File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
working/augmentation-libraries Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -866,10 +866,14 @@ It's a **compile-time error** if:
866
866
constructor is not, or vice versa. * An augmentation can't change whether or
867
867
not a constructor is generative because that affects whether users are
868
868
allowed to call the constructor in a subclass's initializer list.*
869
-
869
+
870
870
* More than one constructor declaration in an augmentation chain specifies
871
871
a default value for the same parameter.
872
872
873
+ * A constructor declaration in an augmentation chain is a redirecting
874
+ factory, and some declaration in the chain specifies a default value
875
+ for one or more parameters.
876
+
873
877
An incomplete constructor can be completed by adding an initializer list and/or
874
878
a body, or by adding a redirection:
875
879
You can’t perform that action at this time.
0 commit comments