commit | 5c539e4c8162b712830eb8ee644361624e3f4c47 | [log] [tgz] |
---|---|---|
author | sgrekhov <sgrekhov@unipro.ru> | Thu Sep 23 11:22:52 2021 +0700 |
committer | sgrekhov <sgrekhov@unipro.ru> | Thu Sep 23 11:22:52 2021 +0700 |
tree | 489e904ddcc6060593fcfd59d2cf9d2d90217ea4 | |
parent | a7046ad264a8b877e4153fbad28bf85f75270e31 [diff] |
#1200. Some of the roll failures fixed
diff --git a/LanguageFeatures/Constructor-tear-offs/call_method_A06_t01.dart b/LanguageFeatures/Constructor-tear-offs/call_method_A06_t01.dart index 1c0ddc2..1b51bc3 100644 --- a/LanguageFeatures/Constructor-tear-offs/call_method_A06_t01.dart +++ b/LanguageFeatures/Constructor-tear-offs/call_method_A06_t01.dart
@@ -59,6 +59,6 @@ var c1 = C()<int>; Expect.equals(42, c1(42)); - int Function(int) с2 = C(); - Expect.equals(42, с2(42)); + int Function(int) c2 = C(); + Expect.equals(42, c2(42)); }
diff --git a/LanguageFeatures/Constructor-tear-offs/call_method_A06_t02.dart b/LanguageFeatures/Constructor-tear-offs/call_method_A06_t02.dart index 8431bfe..74103ac 100644 --- a/LanguageFeatures/Constructor-tear-offs/call_method_A06_t02.dart +++ b/LanguageFeatures/Constructor-tear-offs/call_method_A06_t02.dart
@@ -60,7 +60,7 @@ // [analyzer] unspecified // [cfe] unspecified - int Function(int) с2 = C(); + int Function(int) c2 = C(); c2("42"); // ^^^^ // [analyzer] unspecified
diff --git a/LanguageFeatures/Constructor-tear-offs/expression_A06_t04.dart b/LanguageFeatures/Constructor-tear-offs/expression_A06_t04.dart index 93ccc82..873a429 100644 --- a/LanguageFeatures/Constructor-tear-offs/expression_A06_t04.dart +++ b/LanguageFeatures/Constructor-tear-offs/expression_A06_t04.dart
@@ -25,13 +25,13 @@ T bar<T>(T t) => t; } main() { - Function func1 = foo; + Function func1 = C.foo; var c1 = func1<int>; // ^^^^^ // [analyzer] unspecified // [cfe] unspecified - Function func2 = bar; + Function func2 = C().bar; var c2 = func2<int>; // ^^^^^ // [analyzer] unspecified