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

Unified Diff: lib/runtime/dart/_js_helper.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 | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_helper.js
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
index be3814a2864546a7b5e54b0ec1bdb4594889f56f..e43d8f434605e86a18e93d87fbba5c037807e73b 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -2883,7 +2883,11 @@ var _js_helper;
function closureFromTearOff(receiver, functions, reflectionInfo, isStatic, jsArguments, name) {
return Closure.fromTearOff(receiver, _interceptors.JSArray.markFixedList(dart.as(functions, core.List)), _interceptors.JSArray.markFixedList(dart.as(reflectionInfo, core.List)), !!isStatic, jsArguments, name);
}
- class TearOffClosure extends Closure {}
+ class TearOffClosure extends Closure {
+ TearOffClosure() {
+ super.Closure();
+ }
+ }
let _self = Symbol('_self');
let _target = Symbol('_target');
let _name = Symbol('_name');
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698