commit | 8f9261169d975e5c5eaf11eeabf6ace3326b5e94 | [log] [tgz] |
---|---|---|
author | sgrekhov <sgrekhov@unipro.ru> | Thu Oct 14 21:36:25 2021 +0700 |
committer | sgrekhov <sgrekhov@unipro.ru> | Thu Oct 14 21:36:25 2021 +0700 |
tree | 064bf99bc931b2a13057b0f7355ed293b87cb788 | |
parent | cd6510c8346444792b37f6f26feffcc234a44dd1 [diff] |
Fixes #1224. Don't expect not identical tear-offs to be identical
diff --git a/LanguageFeatures/Constructor-tear-offs/tearing_off_from_typedef_A03_t07.dart b/LanguageFeatures/Constructor-tear-offs/tearing_off_from_typedef_A03_t07.dart index 325b08e..67873f6 100644 --- a/LanguageFeatures/Constructor-tear-offs/tearing_off_from_typedef_A03_t07.dart +++ b/LanguageFeatures/Constructor-tear-offs/tearing_off_from_typedef_A03_t07.dart
@@ -12,6 +12,7 @@ /// /// @author iarkh@unipro.ru /// @issue 47267 +/// @issue 47462 // SharedOptions=--enable-experiment=constructor-tearoffs @@ -25,7 +26,7 @@ var v3 = (MyList.filled)<num>; Expect.identical(v1, v2); - Expect.identical(v1, v3); + Expect.isFalse(identical(v1, v3)); const v4 = MyList<int>.filled; const v5 = MyList<int>.filled;