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

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

Issue 1486473002: Convert dart_utils.js to input_sdk/lib/_internal/utils.dart (#310) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased 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/_runtime.js ('k') | lib/runtime/dart/_utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_types.js
diff --git a/lib/runtime/dart/_types.js b/lib/runtime/dart/_types.js
index 225153813c667e02a86bd26e90be98ce5d64d52f..76556262777a245b691ce9b717f1cfff9c9d0061 100644
--- a/lib/runtime/dart/_types.js
+++ b/lib/runtime/dart/_types.js
@@ -7,15 +7,16 @@
dart_library.library('dart/_types', null, /* Imports */[
], /* Lazy Imports */[
+ 'dart/_utils',
'dart/core',
'dart/_classes',
'dart/_rtti'
-], function(exports, core, classes, rtti) {
+], function(exports, dart_utils, core, classes, rtti) {
'use strict';
const getOwnPropertyNames = Object.getOwnPropertyNames;
- const assert = dart_utils.assert;
+ const assert = dart_utils.assert_;
/**
* Types in dart are represented at runtime as follows.
@@ -24,12 +25,12 @@ dart_library.library('dart/_types', null, /* Imports */[
* If the type is the result of instantiating a generic class,
* then the "classes" module manages the association between the
* instantiated class and the original class declaration
- * and the type arguments with which it was instantiated. This
+ * and the type arguments with which it was instantiated. This
* assocation can be queried via the "classes" module".
*
* - All other types are represented as instances of class TypeRep,
* defined in this module.
- * - Dynamic, Void, and Bottom are singleton instances of sentinal
+ * - Dynamic, Void, and Bottom are singleton instances of sentinal
* classes.
* - Function types are instances of subclasses of AbstractFunctionType.
*
« no previous file with comments | « lib/runtime/dart/_runtime.js ('k') | lib/runtime/dart/_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698