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

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

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years 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/_types.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/_utils.js
diff --git a/lib/runtime/dart/_utils.js b/lib/runtime/dart/_utils.js
index 9793464a006c386c98f89f1ed67c1996100212c2..bfbbf7eebb59ae5de88eb9203e88fe8300571d0d 100644
--- a/lib/runtime/dart/_utils.js
+++ b/lib/runtime/dart/_utils.js
@@ -1,6 +1,6 @@
dart_library.library('dart/_utils', null, /* Imports */[
], /* Lazy imports */[
-], function(exports, dart) {
+], function(exports) {
'use strict';
const defineProperty = Object.defineProperty;
const getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
@@ -22,7 +22,7 @@ dart_library.library('dart/_utils', null, /* Imports */[
function throwInternalError(message) {
throw Error(message);
}
- function assert_(condition) {
+ function assert(condition) {
if (!condition)
throwInternalError("The compiler is broken: failed assert");
}
@@ -80,7 +80,7 @@ dart_library.library('dart/_utils', null, /* Imports */[
function copyProperties(to, from) {
return copyTheseProperties(to, from, getOwnNamesAndSymbols(from));
}
- function export_(to, from, show, hide) {
+ function export$(to, from, show, hide) {
if (show == void 0 || show.length == 0) {
show = getOwnNamesAndSymbols(from);
}
@@ -99,7 +99,7 @@ dart_library.library('dart/_utils', null, /* Imports */[
exports.StrongModeError = StrongModeError;
exports.throwStrongModeError = throwStrongModeError;
exports.throwInternalError = throwInternalError;
- exports.assert_ = assert_;
+ exports.assert = assert;
exports.getOwnNamesAndSymbols = getOwnNamesAndSymbols;
exports.safeGetOwnProperty = safeGetOwnProperty;
exports.defineLazyProperty = defineLazyProperty;
@@ -107,5 +107,5 @@ dart_library.library('dart/_utils', null, /* Imports */[
exports.defineMemoizedGetter = defineMemoizedGetter;
exports.copyTheseProperties = copyTheseProperties;
exports.copyProperties = copyProperties;
- exports.export_ = export_;
+ exports.export = export$;
});
« no previous file with comments | « lib/runtime/dart/_types.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698