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

Side by Side Diff: tests/compiler/dart2js/value_range_test.dart

Issue 236313012: Don't hide interceptors in mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 import 'compiler_helper.dart'; 6 import 'compiler_helper.dart';
7 7
8 const int REMOVED = 0; 8 const int REMOVED = 0;
9 const int ABOVE_ZERO = 1; 9 const int ABOVE_ZERO = 1;
10 const int BELOW_LENGTH = 2; 10 const int BELOW_LENGTH = 2;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 operator <=(other) {} 321 operator <=(other) {}
322 operator >=(other) {} 322 operator >=(other) {}
323 operator ==(other) {} 323 operator ==(other) {}
324 } 324 }
325 class JSInt extends JSNumber { 325 class JSInt extends JSNumber {
326 operator~() => this; 326 operator~() => this;
327 } 327 }
328 class JSDouble extends JSNumber { 328 class JSDouble extends JSNumber {
329 } 329 }
330 class JSNull { 330 class JSNull {
331 bool operator==(other) => identical(null, other);
332 get hashCode => throw "JSNull.hashCode not implemented.";
333 String toString() => 'Null';
334 Type get runtimeType => Null;
335 noSuchMethod(x) => super.noSuchMethod(x);
331 } 336 }
332 class JSBool { 337 class JSBool {
333 } 338 }
334 class JSFunction { 339 class JSFunction {
335 } 340 }
336 class ObjectInterceptor { 341 class ObjectInterceptor {
337 } 342 }
338 class JSPositiveInt extends JSInt {} 343 class JSPositiveInt extends JSInt {}
339 class JSUInt32 extends JSPositiveInt {} 344 class JSUInt32 extends JSPositiveInt {}
340 class JSUInt31 extends JSUInt32 {} 345 class JSUInt31 extends JSUInt32 {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 break; 388 break;
384 } 389 }
385 } 390 }
386 391
387 392
388 main() { 393 main() {
389 for (int i = 0; i < TESTS.length; i += 2) { 394 for (int i = 0; i < TESTS.length; i += 2) {
390 expect(TESTS[i], TESTS[i + 1]); 395 expect(TESTS[i], TESTS[i + 1]);
391 } 396 }
392 } 397 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js_extra/reflect_native_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698