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

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

Issue 1058653002: implement mixins in subtype checks, more codegen fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
Index: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index 9b895ea38de468bd29191b1da7b5f278f7c52932..4f7b60acb2f451fc4d0ae4d309c7c34b1f2b68fe 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -61,7 +61,7 @@ var math;
}
return Point;
});
- let Point = Point$(dart.dynamic);
+ let Point = Point$();
class Random extends core.Object {
Random(seed) {
if (seed === void 0)
@@ -133,7 +133,7 @@ var math;
}
return _RectangleBase;
});
- let _RectangleBase = _RectangleBase$(dart.dynamic);
+ let _RectangleBase = _RectangleBase$();
let Rectangle$ = dart.generic(function(T) {
class Rectangle extends _RectangleBase$(T) {
Rectangle(left, top, width, height) {
@@ -154,7 +154,7 @@ var math;
dart.defineNamedConstructor(Rectangle, 'fromPoints');
return Rectangle;
});
- let Rectangle = Rectangle$(dart.dynamic);
+ let Rectangle = Rectangle$();
let _width = Symbol('_width');
let _height = Symbol('_height');
let MutableRectangle$ = dart.generic(function(T) {
@@ -194,7 +194,7 @@ var math;
dart.defineNamedConstructor(MutableRectangle, 'fromPoints');
return MutableRectangle;
});
- let MutableRectangle = MutableRectangle$(dart.dynamic);
+ let MutableRectangle = MutableRectangle$();
// Function _clampToZero: (num) → num
function _clampToZero(value) {
dart.assert(dart.notNull(value) < 0);
@@ -427,13 +427,13 @@ var math;
_Random._POW2_27_D = 1.0 * (1 << 27);
_Random._MASK32 = 4294967295;
// Exports:
- exports.Point = Point;
exports.Point$ = Point$;
+ exports.Point = Point;
exports.Random = Random;
- exports.Rectangle = Rectangle;
exports.Rectangle$ = Rectangle$;
- exports.MutableRectangle = MutableRectangle;
+ exports.Rectangle = Rectangle;
exports.MutableRectangle$ = MutableRectangle$;
+ exports.MutableRectangle = MutableRectangle;
exports.E = E;
exports.LN10 = LN10;
exports.LN2 = LN2;

Powered by Google App Engine
This is Rietveld 408576698