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

Unified Diff: lib/runtime/dart/_js_helper.js

Issue 1150623004: Fix names in named parameter lists (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/_isolate_helper.js ('k') | lib/runtime/dart/async.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 a870174295c794df78df03425d9b779c345d4cc1..ec660ff06b55022c87bf61f76c2490063497e223 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -647,7 +647,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
}
JSSyntaxRegExp[dart.implements] = () => [core.RegExp];
dart.setSignature(JSSyntaxRegExp, {
- constructors: () => ({JSSyntaxRegExp: [JSSyntaxRegExp, [core.String], {ultiLin: core.bool, aseSensitiv: core.bool}]}),
+ constructors: () => ({JSSyntaxRegExp: [JSSyntaxRegExp, [core.String], {multiLine: core.bool, caseSensitive: core.bool}]}),
methods: () => ({
firstMatch: [core.Match, [core.String]],
hasMatch: [core.bool, [core.String]],
@@ -1058,7 +1058,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
let className = getConstructorName(getIndex(runtimeType, 0));
return `${className}` + `${joinArguments(runtimeType, 1, {onTypeVariable: onTypeVariable})}`;
}
- dart.fn(getRuntimeTypeAsString, core.String, [core.Object], {nTypeVariabl: dart.functionType(core.String, [core.int])});
+ dart.fn(getRuntimeTypeAsString, core.String, [core.Object], {onTypeVariable: dart.functionType(core.String, [core.int])});
function getConstructorName(type) {
return type.builtin$cls;
}
@@ -1081,7 +1081,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
return null;
}
}
- dart.fn(runtimeTypeToString, core.String, [core.Object], {nTypeVariabl: dart.functionType(core.String, [core.int])});
+ dart.fn(runtimeTypeToString, core.String, [core.Object], {onTypeVariable: dart.functionType(core.String, [core.int])});
function joinArguments(types, startIndex, opts) {
let onTypeVariable = opts && 'onTypeVariable' in opts ? opts.onTypeVariable : null;
if (types == null)
@@ -1104,7 +1104,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
}
return allDynamic ? '' : `<${buffer}>`;
}
- dart.fn(joinArguments, core.String, [core.Object, core.int], {nTypeVariabl: dart.functionType(core.String, [core.int])});
+ dart.fn(joinArguments, core.String, [core.Object, core.int], {onTypeVariable: dart.functionType(core.String, [core.int])});
function getRuntimeTypeString(object) {
let className = getClassName(object);
if (object == null)
« no previous file with comments | « lib/runtime/dart/_isolate_helper.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698