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

Unified Diff: test/codegen/expect/closure.js

Issue 1638533004: Create local alias for super class in --closure mode (issue #312) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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
Index: test/codegen/expect/closure.js
diff --git a/test/codegen/expect/closure.js b/test/codegen/expect/closure.js
index dedd188764341ba0b9d768a3127e44b2c8021013..a851e72da622d3075bf25eef8e6670a9d38c8ec4 100644
--- a/test/codegen/expect/closure.js
+++ b/test/codegen/expect/closure.js
@@ -117,7 +117,8 @@ dart_library.library('closure', null, /* Imports */[
/** @type {string} */
Foo.some_static_var = "abc";
class Bar extends core.Object {}
- class Baz extends dart.mixin(Foo$(core.int), Bar) {
+ const Baz$super = dart.mixin(Foo$(core.int), Bar);
+ class Baz extends Baz$super {
/** @param {?number} i */
Baz(i) {
super.Foo(i, 123);

Powered by Google App Engine
This is Rietveld 408576698