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

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

Issue 2113983002: Update dart2js to fix #81. (Closed) Base URL: git@github.com:dart-lang/rasta.git@mixin_scope
Patch Set: 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_000081.dart ('k') | test/kernel/regression/static.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/issue_000081.dart.txt
diff --git a/test/kernel/regression/issue_000081.dart.txt b/test/kernel/regression/issue_000081.dart.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6079605763e199773b7c9c1b15307338eb3e0ac8
--- /dev/null
+++ b/test/kernel/regression/issue_000081.dart.txt
@@ -0,0 +1,24 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class Base extends core::Object {
+ field core::int hashCode;
+ constructor •() → self::Base
+ : self::Base::hashCode = 42, super core::Object::•();
+}
+class Sub extends self::Base {
+ field core::int _hashCode;
+ constructor •() → self::Sub
+ : self::Sub::_hashCode = null, super self::Base::•();
+ get hashCode() → dynamic
+ return let final dynamic #t1 = this._hashCode in #t1.==(null) ? this._hashCode = super.self::Base::hashCode : #t1;
+ method foo() → dynamic {
+ this._hashCode.==(null) ? this._hashCode = super.self::Base::hashCode : null;
+ }
+}
+static method main() → dynamic {
+ core::print(new self::Sub::•().hashCode);
+ dynamic l = <dynamic>[null];
+ let final dynamic #t2 = l in let final dynamic #t3 = 0 in #t2.[](#t3).==(null) ? #t2.[]=(#t3, "fisk") : null;
+}
« no previous file with comments | « test/kernel/regression/issue_000081.dart ('k') | test/kernel/regression/static.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698