| Index: sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/lib/js_number.dart (revision 18311)
|
| +++ sdk/lib/_internal/compiler/implementation/lib/js_number.dart (working copy)
|
| @@ -235,22 +235,22 @@
|
|
|
| bool operator <(num other) {
|
| if (other is !num) throw new ArgumentError(other);
|
| - return JS('num', '# < #', this, other);
|
| + return JS('bool', '# < #', this, other);
|
| }
|
|
|
| bool operator >(num other) {
|
| if (other is !num) throw new ArgumentError(other);
|
| - return JS('num', '# > #', this, other);
|
| + return JS('bool', '# > #', this, other);
|
| }
|
|
|
| bool operator <=(num other) {
|
| if (other is !num) throw new ArgumentError(other);
|
| - return JS('num', '# <= #', this, other);
|
| + return JS('bool', '# <= #', this, other);
|
| }
|
|
|
| bool operator >=(num other) {
|
| if (other is !num) throw new ArgumentError(other);
|
| - return JS('num', '# >= #', this, other);
|
| + return JS('bool', '# >= #', this, other);
|
| }
|
| }
|
|
|
|
|