Commit Graph

2 Commits

Author SHA1 Message Date
Johnni Winther 6dc5a58252 [cfe] Report errors on non-nullable optional parameters without default value in factory constructors
Closes #43276

Change-Id: I50f68e910a5e79fd978f10cad3651bfe0aec535f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161169
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-09-01 14:05:19 +00:00
Johnni Winther 87f74cbba9 [cfe] Check optional non-nullable parameters in constructors
Closes #42203
Closes #42362
Closes #42352

Change-Id: Ida8a41252ec524ba5c2eaa697fa61e3514897bef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151500
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-06-18 18:07:06 +00:00