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

Unified Diff: test/kernel/regression/issue_000080.dart.txt

Issue 2106103008: Update dart2js to fix #80. (Closed) Base URL: git@github.com:dart-lang/rasta.git@analyze
Patch Set: Address comment. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/kernel/regression/issue_000080.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/issue_000080.dart.txt
diff --git a/test/kernel/regression/issue_000080.dart.txt b/test/kernel/regression/issue_000080.dart.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9097f98645081e1dffe085b35b554bb1267dad7b
--- /dev/null
+++ b/test/kernel/regression/issue_000080.dart.txt
@@ -0,0 +1,31 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class Mixin extends core::Object {
+ field dynamic field;
+ constructor •() → self::Mixin
+ : super core::Object::•();
+ method foo() → dynamic
+ return 87;
+}
+class Foo extends self::Object+Mixin#0 {
+ constructor •() → self::Foo
+ : super self::Object+Mixin#0::•();
+ method foo() → dynamic
+ return super.self::Object+Mixin#0::foo();
+ method bar() → dynamic
+ return super.self::Object+Mixin#0::field;
+}
+abstract class Object+Mixin#0 extends core::Object implements self::Mixin {
+ field dynamic field;
+ constructor •() → dynamic
+ : super core::Object::•();
+ method foo() → dynamic
+ return 87;
+}
+static method main() → dynamic {
+ dynamic f = new self::Foo::•();
+ f.field = 42;
+ core::print(f.bar());
+}
« no previous file with comments | « test/kernel/regression/issue_000080.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698