Commit Graph

6212 Commits

Author SHA1 Message Date
Dmitry Stefantsov 6393841036 [cfe] Account for InvalidType at nestedness level in UP and DOWN
Closes #46863.

Bug: https://github.com/dart-lang/sdk/issues/46863
Change-Id: I0cc60251f80406baa955131978cd6cbd029b228e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209700
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-08-11 09:40:31 +00:00
Alexander Thomas c040c050d6 [release] Bump language version to 2.15
TEST=Standard CQ.
Change-Id: Ib50b4d23f25ea4bd074904a87068a4a8774932aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209561
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-10 13:06:53 +00:00
Dmitry Stefantsov 934136d239 [cfe] Don't perform generic tear-off type check in opt-out code
Change-Id: I168eef4594fb7c54e1eabc52ba8f0e8d6c4e6b03
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209560
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-08-10 10:29:12 +00:00
Stephen Adams c9ebc7c13f [dart2js/kernel] Fix poor code with nested List.generate
Cloning of InstanceInvocation kernel ast nodes was dropping the
isInvariant and isBoundSafe flags, causing the nested List.generate
expansion to not be as well optimized. `-O3` and `-O4` were 'hiding'
the problem by removing the checks anyway.

Change-Id: Id20f2eb4ef5396691a2dd5cbdd847e2d361a21d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209442
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-09 20:38:50 +00:00
Alexander Markov 0b1ddaa598 [vm] Enable lowering of typedef constructor tear-offs
TEST=language/typedef/aliased_constructor_tear_off_test
Issue https://github.com/dart-lang/sdk/issues/46231

Change-Id: I10df62d4d170a4ae018a0e943ac6fc37d669d439
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208984
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-08-09 18:06:39 +00:00
Lasse R.H. Nielsen ae1e2bd3a6 Add HTTP access control headers to CHANGELOG and add @Since.
Change-Id: I860fbe6b821061695c50319204d8d6ba9c98a839
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209109
Auto-Submit: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-08-09 14:48:38 +00:00
Dmitry Stefantsov f77f8e5871 [cfe] Add type checks on tearing off instance members
Closes #46784.

Bug: https://github.com/dart-lang/sdk/issues/46784
Change-Id: I7637618be0686bbffe6eb18a19049ec5da6059aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208881
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-08-06 15:19:35 +00:00
Johnni Winther c66ae0027b [cfe] Handle invalid typedefs and redirecting factories in lowering
Change-Id: I61d776434621fd7022d034f17e228ec553a7ff47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209108
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-08-06 13:43:05 +00:00
Riley Porter ff85758d9c Add desugar API mapping extension member name to ProcedureKind
Surfaces what ProcedureKind an extension member is based on the
CFE convention of '|set#' and '|get#' in the member name to
retain setter and getter information.

Change-Id: I527062e4a1e4e9f4346751ea2f9d636184e2d8e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209162
Commit-Queue: Riley Porter <rileyporter@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-06 00:37:51 +00:00
Alexander Markov 81da4e07fd [cfe] Cleanup detection of cyclic redirecting factories
This is a follow-up to [1]. Since that change we started detecting
cyclic factories earlier, so cycle detection can be removed from the
later stage of resolving calls to redirecting factories.

Similarly, detection of redirecting factories targeting generative
constructors of abstract classes was also moved to an earlier stage
and can be cleaned up.

[1] https://dart-review.googlesource.com/c/sdk/+/208681

Change-Id: Ib3d061438c7a898424ffd73f18e2a289a1f987fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209000
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-08-05 16:06:21 +00:00
Johnni Winther 95164f40f4 [cfe] Handle Null and non-class typedefs in tear off lowering
Change-Id: I94c9e720bcb4b85a9136ab438db7093305087ff6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209080
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-08-05 12:26:14 +00:00
Johnni Winther 839b5d40a6 [cfe] Enforce weakening on typedef tear off constant instantiations
Closes #46808

Change-Id: Idb7e5cd9025081f25ff13cdd03f9dc812f999d70
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209082
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-08-05 12:26:11 +00:00
Lasse R.H. Nielsen de999e8ea3 Add access-control-allow-* headers
cc @kevmoo if you know who can handle this.

Closes https://github.com/dart-lang/sdk/pull/45947
https://github.com/dart-lang/sdk/pull/45947

GitOrigin-RevId: ae62a578d11095dd225ecb02f83e29ce5bd99864
Change-Id: If56f362b92c9226e94a8ea29b162de21ca548710
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/198780
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2021-08-05 09:48:19 +00:00
Johnni Winther 0f6dba44ba [vm] Support linked libraries in transformer test
+ move AOT testing from pkg/front_end to pkg/vm

TEST=pkg/vm/test/transformations/type_flow/transformer_test.dart

Change-Id: I26c8be87a1d06062b97f5fd3809d5a03255f3759
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208641
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2021-08-05 07:03:58 +00:00
Alexander Markov 32914654bd [vm] Treat redirecting factories as ordinary factories
After https://dart-review.googlesource.com/c/sdk/+/208681
it is now possible to use bodies of redirecting factories in the VM
and treat redirecting factories like ordinary factories.

TEST=vm/cc/DartAPI_New
TEST=vm/dart/redirection_type_shuffling_test
TEST=co19/LanguageFeatures/Constructor-tear-offs

Fixes https://github.com/dart-lang/sdk/issues/33041
Fixes https://github.com/dart-lang/sdk/issues/29201
Issue https://github.com/dart-lang/sdk/issues/46231

Change-Id: If410d2913704a33035800144699fd6e8a2570a19
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208684
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-08-04 21:50:48 +00:00
Alexander Markov 300a2ea952 [cfe] Create normal bodies for redirecting factories
Replace bogus body created for redirecting factories with a
normal body which calls target factory or constructor and
forwards all arguments. Such a body can be used by back-ends
if they choose to treat redirecting factories as ordinary
factories.

TEST=ci
Fixes https://github.com/dart-lang/sdk/issues/41915
Issue https://github.com/dart-lang/sdk/issues/46231

Change-Id: I62c83bcc9005995e85de049d3d929ca86a75297f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208681
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-04 17:51:07 +00:00
Johnni Winther acd4bc256f Reland "[cfe] Perform eager canonicalization of instantiations without experiment"
Change-Id: I3009f22b269a7946782e868ce5924ff3e1e52f00
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208500
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-04 11:41:30 +00:00
Johnni Winther 43c00097c2 [cfe] Remove isOptOutTest work-around
Change-Id: I7dd125508bba256eb4c78b02fb24e433f45b129a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205420
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-08-04 10:44:00 +00:00
Johnni Winther e7638e8e96 [cfe] Use wrapInProblem instead of buildProblem in inference
Change-Id: I51fe495d162e26ac7cd97629272170c85cafea36
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208642
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-04 10:07:24 +00:00
Johnni Winther e6e25ac7b0 [cfe] Migrate remaining front_end tools
Change-Id: I75f936734a89ec5858390d96be7a5cdc4a300891
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208402
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-04 08:49:51 +00:00
Johnni Winther 5dc4d65114 [kernel] Add InvalidExpression.expression
... and use this to wrap expressions instead of Let

TEST=existing

Change-Id: I6d1f5cfa4693222840d6cb406790c39c6ae63e5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208580
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-04 08:40:18 +00:00
Johnni Winther 7b049152c9 [cfe] Rename ParsedArguments to ParsedOptions
Change-Id: I9fbf7acf7ca717e32382aec89cfb889d5612b67f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208640
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-03 18:29:25 +00:00
Johnni Winther 77750abadc [cfe] Use ParsedArguments for parsing test and folder options
Change-Id: I394a95b6d8a1742f6ed1ecb5bc379654cb4b16e5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208582
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-03 18:29:25 +00:00
Johnni Winther 7e20b1c2b1 [cfe] Move option parsing code to _fe_analyzer_shared
This is in preparation for using it for parsing .options files in tests.

Change-Id: I1ee750ab48de53c4af03d3ce5082a76328851e47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208581
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-08-03 18:29:25 +00:00
Stephen Adams 23b50dfa7d [dart2js] Add dart:_dart2js_runtime_metrics library and package
The internal dart:_dart2js_runtime_metrics library is accessed via
package:dart2js_runtime_metrics.

There is currently one API: startupMetrics.

On non-dart2js configurations the API is stubbed for ease-of-use.

Change-Id: I80c56a83fd166ec19c3846fb6937cf0440ed2c6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208563
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-08-03 18:25:00 +00:00
Johnni Winther 8038ecab65 [cfe] Generate equivalence visitor
+ use it to allow discrepancy in incremental_dart2js_load_from_dill_test

Change-Id: I0adad30af1e502d81e870b26eb63a03b70e42333
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205796
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-08-02 19:50:20 +00:00
Riley Porter b36dcbf00b [ddc] Print AST of compiled libraries with summarize-text flag.
Moves dart2js DebugPrinter and Indentation to pkg/kernel/lib/text
and produces the AST of compiled libraries when ddc is run using
the --summarize-text flag.

Change-Id: I195ff99a0929ac12791b4f7b6c5e755b19065c23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208460
Commit-Queue: Riley Porter <rileyporter@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-02 17:36:10 +00:00
Alexander Markov eec08e1864 [vm] Support tear-offs for generative and factory constructors
TEST=co19/LanguageFeatures/Constructor-tear-offs
Issue: https://github.com/dart-lang/sdk/issues/46231
Change-Id: I177d0d77eac32b49d39949d696de8aa9a618cc6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208442
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2021-07-30 18:50:27 +00:00
Riley Porter d63c2dfa83 [package:js] Allow external extension members for Native classes
Change-Id: I5baf81c3c2b6b3a112327e1aea084a93677bd9b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208380
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Riley Porter <rileyporter@google.com>
2021-07-30 18:43:47 +00:00
Johnni Winther b05892efa1 [cfe] Report compile time error on evaluation of const external constructors
Closes #46123

Change-Id: I91e9b789683b2bd6acb3b4f559ecce6e70f18afc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207001
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-30 11:28:04 +00:00
Dmitry Stefantsov 4b7a1fd88b [cfe] Add initial tests for show/hide subfeature of extension types
Change-Id: Idc0a72445295ca2e99ffcfd699d1d65d4b7f466a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208403
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-07-30 10:08:44 +00:00
Dmitry Stefantsov ac137cf40f [cfe] Fix crash on conflicting generative and factory constructors
Closes #46745.

Bug: https://github.com/dart-lang/sdk/issues/46745
Change-Id: I5dba3433322a3358cf1c5b719e925800b9bf964d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208400
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-07-29 15:24:45 +00:00
Dmitry Stefantsov ec1fd6af6b [cfe] Add tests for errors related to constructor tear offs
Change-Id: Ie5eb97de9775668ef857d2596e0bcd16976c03ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208323
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-07-29 13:30:45 +00:00
Johnni Winther b08d3ee537 [cfe] Support unfolding of lowered late instantiations
Change-Id: Ieddf4d93945e4e710b1f3e327a764ddc57644777
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208325
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-29 12:10:05 +00:00
Johnni Winther 4fc912c408 [cfe] Unfold late instantiation of typedef tear offs
This is currently not support for lowered tear offs, but a test
for it is added.

Change-Id: Ic655ad138383d2ff9bd29675701f2e85b1b63195
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208189
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-29 06:32:25 +00:00
Johnni Winther 33c758690a [cfe] Rename InternalMethodInvocation to MethodInvocation
+ (Internal)PropertyGet and (Internal)PropertySet

Change-Id: Ib5086f5fa308a2cbdeea05ee5fe42c2c66df0007
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208188
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-28 19:13:14 +00:00
Alexander Markov 730ab0583d Migrate pkg/vm to null safety, part 5
TEST=ci

Issue: https://github.com/dart-lang/sdk/issues/46620
Change-Id: Ifc5fe377b5dd8273a45ca0c28fcd27527baae146
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208021
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-07-28 18:38:30 +00:00
Johnni Winther cb3a9b0043 [cfe] Remove old method invocation encoding nodes
TEST=existing

Change-Id: I05ee649ecfa7945e2e0f5e5d09441d8916a9c46e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208185
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-28 15:44:04 +00:00
Johnni Winther 16ebd4fe57 [cfe] Add InternalMethodInvocation, InternalPropertyGet and InternalPropertySet
- to replace internal use of the old method invocation encoding.

Change-Id: I7ca876d28beec265f1a143ce5f29deb9e61616d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208184
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-28 10:13:34 +00:00
Johnni Winther 41cf79f5bc [cfe] Migrate tools that do not depend on package:vm
Change-Id: I1cc29637bcc01880d56963447c1d34028e6c8504
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207139
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-28 07:41:24 +00:00
Riley Porter 16ac19d097 [package:js] Add checks for external extension members.
Reports an error if there are external members in an extension,
where the extension on type is not a JS interop class. A follow
up change will allow extensions with external members on some
Native classes, like dart:html classes.

Change-Id: I01c645aa46e46071aae5f380c5e36329f61d3e18
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207722
Commit-Queue: Riley Porter <rileyporter@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Srujan Gaddam <srujzs@google.com>
2021-07-28 00:41:43 +00:00
Alexander Markov 45ae00676a Migrate pkg/vm to null safety, part 4
TEST=ci

Issue: https://github.com/dart-lang/sdk/issues/46620
Change-Id: I74c45ed1525248447e769cc832366728e7a017fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208020
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2021-07-27 17:52:18 +00:00
Johnni Winther 4c21e24b9c [cfe] Migrate tool/_fasta libraries
- that don't depend on entrypoint.dart or package:testing

Change-Id: I007c67c611aa99f35851d2423834ee440f3b224b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207137
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-27 15:46:07 +00:00
Johnni Winther 286702df6b [kernel] Migrate tests
Change-Id: If426fc15f7bce54b51eaac3354061684cd5b0e17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207129
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-27 12:35:37 +00:00
Johnni Winther 9696b6c624 [cfe] More sound mode fixes
Closes #46704

Change-Id: I9604df37eca94db7e22bb4e12ce9c0c6bd88136b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208087
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-27 09:48:47 +00:00
Johnni Winther 49c3885e77 [cfe] Handle parser recovery in named argument name
Closes #44007

Change-Id: I93df283a8ebdab4e5be073556002609c1702253d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206781
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 15:36:26 +00:00
Johnni Winther c3a88df328 [cfe] Support InvalidType in TypeBuilderComputer
Closes #46160

Change-Id: I7e945700a614e0729778ef4bc6b5656e62d21018
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206640
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 15:29:56 +00:00
Johnni Winther b403f57f63 [cfe] Add test for issue 44733
The underlying problem seems to have been fixed.

Closes #44733

Change-Id: I9a041d2269867a71927890106273185f8356e54d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206720
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 15:26:06 +00:00
Johnni Winther da2f5bb22c [cfe] Ensure inferred parameter types on intermediate mixin application constructors
Closes #46159

Change-Id: Ice569565db68832c47cffb745faaca39defd9be2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206641
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 15:19:36 +00:00
Johnni Winther eb1a2166cd [cfe] Fix sound mode failures
Closes #46704

Change-Id: I39b05b8432a8c316c4bca8679531d663e46817a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208084
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 15:14:17 +00:00