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

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

Issue 1122883002: Do not suppress implicit constructors that need a super call. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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/codegen/expect/cascade.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index 030ab955718927acc938f987c2b44f63463e90ad..e3d53be0aeaa3e435ba06864959541bd30a32626 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -20,6 +20,9 @@ var covariance;
});
let Foo = Foo$();
class Bar extends Foo$(core.int) {
+ Bar() {
+ super.Foo();
+ }
add(x) {
core.print(`Bar.add got ${x}`);
super.add(x);
« no previous file with comments | « test/codegen/expect/cascade.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698