Commit Graph

4887 Commits

Author SHA1 Message Date
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
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
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 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 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
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
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 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
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
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 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 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
Johnni Winther c07e150833 [cfe] Don't create unnecessary typedef tear off lowerings
Tear-off lowerings of proper renames and non-generic typedefs
are never used since these always result in constructor tear offs.

Closes #46703

Change-Id: I14782f5519597786178cb357cc95af2338aea84a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208081
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-26 12:41:34 +00:00
Johnni Winther fd54c50b75 [cfe] Add TypeDependency
This is used to ensure that constructor parameters have been inferred
before these are copied to the tear off lowerings.

Closes #46700

Change-Id: I1a4f3608f8b1ea270f58a8388cad265f15726059
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207962
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-23 18:55:10 +00:00
Johnni Winther ca8ea1d936 [cfe] Reimplement typedef tearoff lowering
Using top level procedures generated for each constructor in the
targeted class.

Closes #46676

Change-Id: I42e98254e5cdb8922fafd29e0170dd70ef3e693e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207961
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-23 14:29:37 +00:00
Johnni Winther 80b05d07e8 [cfe] Trigger constructor parameter inference on constructor tear off
The type of a constructor tear off is dependent on the type of
the constructor. Since the constructor type might be inferred,
for instance for initializing formals, we need to trigger this inference
before computing the static type of a constructor tear off.

This needs to be further expanded to lowerings of tear offs. This will
be done in a follow-up.

Change-Id: I321c013ec60e2f17b99a41c8f9debc2f564462f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207940
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-23 11:21:05 +00:00
Johnni Winther 66f6a490d7 [cfe] Handle TypedefTearOff(Constant) in constant evaluation
+ fix bug in TypedefTearOff.getStaticType and implement
TypedefTearConstant.hashCode to match operator==

Closes #46674

Change-Id: I95d9e058865b7290208429f671e8f276b1d7993c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207660
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-22 18:09:29 +00:00
Alexander Markov 3a96674d3d Migrate pkg/vm to null safety, part 2
TEST=ci
Issue: https://github.com/dart-lang/sdk/issues/46620

Change-Id: I18bab8755bfa937b6de07a738e3f22309240da22
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207365
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-07-22 17:30:49 +00:00
Johnni Winther 66bd92dcaa [cfe] Handle missing targets and default values for redirecting factory tearoffs
Change-Id: I24d3879e1b644a24af3da0996149e12c7ce3fdac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207320
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-22 13:33:09 +00:00
Dmitry Stefantsov 7fb699d97b [cfe] Unalias constructor tear-offs from proper renames
Closes #46673.

Bug: https://github.com/dart-lang/sdk/issues/46673
Change-Id: Ic1a8a1bdb5325661ae6354297e0dc1a5b4195015
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207664
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-07-22 10:56:59 +00:00
Dmitry Stefantsov 2fe7a1d21e [cfe] Treat declaration of .new constructor as that of default one
Closes #46675.

Bug: https://github.com/dart-lang/sdk/issues/46675
Change-Id: Iff22c30d99652735a0882d21d59869e2d70d0203
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207662
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
2021-07-21 18:12:38 +00:00
Johnni Winther fac1174b28 [cfe] Support lowering for redirecting factory tear offs
- including refactoring to reuse functionality in
  constructor_tearoff_lowering.dart

Change-Id: I7d9cad93a2cf7b809eb7726fbef7bf5a57a2ae82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207303
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-20 15:58:40 +00:00
Johnni Winther 8674c7da89 [cfe] Generate RedirectingFactoryTearOff(Constant)
Change-Id: I8bf989921916ced48d583b9278d0ab8b1da03dd5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207300
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-20 12:44:00 +00:00
Clement Skau 2f0b352e98 [VM] Adds compile-time error for non-static FfiNative
This makes it a compile-time error to add @FfiNative annotation
to any non-static function, such as an instance method.

TEST=tests/ffi/ffi_native_test.dart,pkg/analyzer/test/src/diagnostics/ffi_native_test.dart

Bug: https://github.com/dart-lang/sdk/issues/43889
Change-Id: Ib9ec61345bb47e735ed635c5ceea15ab643f65a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207306
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Tess Strickland <sstrickl@google.com>
2021-07-20 11:54:30 +00:00
Johnni Winther 28e583c06f [cfe] Add lowering for TypedefTearOff
Change-Id: I6d4683b5c704f1336e2ec3fc3edb22da27c4ef83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207128
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-20 10:59:40 +00:00
Johnni Winther 970ea21f49 [cfe] Handle constructor tear off in constant evaluation
- including updates to ast-to-text

TEST=existing

Change-Id: I4c9ccca1da3956d10f4ebb6e27f894463dd303ca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207082
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-20 09:15:20 +00:00
Johnni Winther e1cac90616 [cfe] Handle lowered tear offs from dill
Change-Id: I6cf6e2a265a84c5ab84bce3385b4112f6bd688ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207020
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-20 05:46:00 +00:00
Johnni Winther a0d1cc4a0c [cfe] Support lowering of factory tear offs
Change-Id: If2732016c6324aa2e41c5ff5444a81f9b282d5a5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207000
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-19 21:19:49 +00:00
Johnni Winther faed4bacb3 [cfe] Add RedirectingFactoryTearOff(Constant)
+ rename RedirectingFactoryConstructor to RedirectingFactory
+ change encoding of RedirectingFactory to use FunctionNode

TEST=existing

Change-Id: I80778acc215a36ab6b87518824389a293b96f0a7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206780
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-07-19 16:46:29 +00:00
Johnni Winther 8ea5fc2773 [cfe] Add flag for lowering redirecting factories
+ handle constructor tear offs in part files

Change-Id: Id3100ebbabb1c125b18c52cca7cb06871ed0f726
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206621
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-19 14:25:39 +00:00