| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // Test code | 5 // Test code | 
| 6 import 'dart:collection'; | 6 import 'dart:collection'; | 
| 7 import 'dart:mirrors'; | 7 import 'dart:mirrors'; | 
| 8 import 'package:unittest/unittest.dart'; | 8 import 'package:test/test.dart'; | 
| 9 import 'package:dev_compiler/config.dart'; | 9 import 'package:dev_compiler/config.dart'; | 
| 10 import 'package:dev_compiler/runtime/dart_runtime.dart'; | 10 import 'package:dev_compiler/runtime/dart_runtime.dart'; | 
| 11 | 11 | 
| 12 final bool intIsNonNullable = TypeOptions.NONNULLABLE_TYPES.contains('int'); | 12 final bool intIsNonNullable = TypeOptions.NONNULLABLE_TYPES.contains('int'); | 
| 13 final bool doubleIsNonNullable = | 13 final bool doubleIsNonNullable = | 
| 14     TypeOptions.NONNULLABLE_TYPES.contains('double'); | 14     TypeOptions.NONNULLABLE_TYPES.contains('double'); | 
| 15 | 15 | 
| 16 class A { | 16 class A { | 
| 17   int x; | 17   int x; | 
| 18 } | 18 } | 
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 326 | 326 | 
| 327     var objectChecker = new Checker<Object>(); | 327     var objectChecker = new Checker<Object>(); | 
| 328     objectChecker.isGround(true); | 328     objectChecker.isGround(true); | 
| 329     objectChecker.isGroundList(true); | 329     objectChecker.isGroundList(true); | 
| 330 | 330 | 
| 331     objectChecker.check(5, true); | 331     objectChecker.check(5, true); | 
| 332     objectChecker.check("hello", true); | 332     objectChecker.check("hello", true); | 
| 333     objectChecker.check(null, true); | 333     objectChecker.check(null, true); | 
| 334   }); | 334   }); | 
| 335 } | 335 } | 
| OLD | NEW | 
|---|