Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: test/kernel/regression/mixin_library.dart.txt

Issue 2117513002: More extensive error handling for 'unresolved' cases. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Merge and update test expectations Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library test.mixin_library; 1 library test.mixin_library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class Mixin<T extends core::Object> extends core::Object { 5 class Mixin<T extends core::Object> extends core::Object {
6 field dynamic x; 6 field dynamic x;
7 field dynamic y; 7 field dynamic y;
8 field dynamic z; 8 field dynamic z;
9 field self::Mixin::T t; 9 field self::Mixin::T t;
10 constructor •() → self::Mixin<self::Mixin::T> 10 constructor •() → self::Mixin<self::Mixin::T>
11 : self::Mixin::x = self::f(), super core::Object::•(); 11 : self::Mixin::x = self::f(), super core::Object::•();
12 method foo() → dynamic 12 method foo() → dynamic
13 return invalid-expression.+(self::f()); 13 return(throw core::_unresolvedSuperMethodError(this, #foo, <dynamic>[], <dyn amic, dynamic>{}, null)).+(self::f());
14 method g(self::Mixin::T a) → self::Mixin::T 14 method g(self::Mixin::T a) → self::Mixin::T
15 return null; 15 return null;
16 method h() → dynamic 16 method h() → dynamic
17 return self::V(); 17 return self::V();
18 method l() → dynamic 18 method l() → dynamic
19 return self::_private(); 19 return self::_private();
20 } 20 }
21 static method f() → dynamic 21 static method f() → dynamic
22 return 2; 22 return 2;
23 static method V() → dynamic 23 static method V() → dynamic
24 return 87; 24 return 87;
25 static method _private() → dynamic 25 static method _private() → dynamic
26 return 117; 26 return 117;
OLDNEW
« no previous file with comments | « test/kernel/regression/malformed_function_type.dart.txt ('k') | test/kernel/regression/parser_error.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698