Skip to content

Commit c681e61

Browse files
author
sgrekhov
committed
Fixes #1145. Remove excessive wrong check
1 parent 3bbf923 commit c681e61

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

LanguageFeatures/Constructor-tear-offs/ambiguities_A06_t03.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
// SharedOptions=--enable-experiment=constructor-tearoffs
3838
import "../../Utils/expect.dart";
3939

40-
String f(a, [b]) => "$a, $b";
41-
4240
class a<T1, T2> {
4341
int x;
4442
a(this.x);
@@ -53,5 +51,4 @@ typedef c = String;
5351
main() {
5452
var x = a<b, c>;
5553
Expect.isTrue(x is Type);
56-
Expect.equals("a<int, String>(42)", x(42).toString());
5754
}

0 commit comments

Comments
 (0)