Commit Graph

3 Commits

Author SHA1 Message Date
Lasse Reichstein Holst Nielsen 6f4bc6a9be Add test for mixin application constructor forwarding of default values.
Bug: http://drtbug.com/31767
Change-Id: I25a877244d588b642c1c027caee381cfa847c07d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/120644
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-06-12 16:36:40 +00:00
Mayank Patke 531cb02331 Fix language_2/mixin_constructor_forwarding/* tests.
Change-Id: I9d6cf8236d3549a799ee2b499cafd4ad40f445a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116720
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
2019-09-12 00:43:19 +00:00
Lasse R.H. Nielsen 5d89a1ac32 Add tests for mixin application constructor forwarding.
Forwarding should work for constructors with optional parameters,
and for const constructors as long as the mixin doesn't declare any
instance variables.

Add tests for forwarding of constructors in mixin applications.

Bug: http://dartbug.com/31543, http://dartbug.com/32223
Change-Id: Iaf950f48703e14391050338f7ae2d80854ec8286
Reviewed-on: https://dart-review.googlesource.com/50460
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2018-04-10 14:27:30 +00:00