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

Unified Diff: lib/runtime/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 1936693002: Revert "Workaround #537" (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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:
Download patch
« no previous file with comments | « no previous file | tool/input_sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_sdk.js
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
index 0af77e4c21030ff6eb346ab484cfc1f15a9d64e1..c381fe30299ecd125b6ffed6367507e29000edb5 100644
--- a/lib/runtime/dart_sdk.js
+++ b/lib/runtime/dart_sdk.js
@@ -29299,8 +29299,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
const _checkInsertIndex = Symbol('_checkInsertIndex');
js.JsArray$ = dart.generic(E => {
class JsArray extends dart.mixin(js.JsObject, collection.ListMixin$(E)) {
- static new() {
- return new (js.JsArray$(E))._fromJs([]);
+ JsArray() {
+ super._fromJs([]);
}
from(other) {
super._fromJs((() => {
@@ -29401,7 +29401,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.defineNamedConstructor(JsArray, '_fromJs');
dart.setSignature(JsArray, {
constructors: () => ({
- new: [js.JsArray$(E), []],
+ JsArray: [js.JsArray$(E), []],
from: [js.JsArray$(E), [core.Iterable$(E)]],
_fromJs: [js.JsArray$(E), [dart.dynamic]]
}),
« no previous file with comments | « no previous file | tool/input_sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698