| OLD | NEW |
| 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 #library('js_helper'); | 5 #library('js_helper'); |
| 6 | 6 |
| 7 #import('coreimpl.dart'); | 7 #import('coreimpl.dart'); |
| 8 | 8 |
| 9 #source('constant_map.dart'); | 9 #source('constant_map.dart'); |
| 10 #source('date_helper.dart'); | 10 #source('date_helper.dart'); |
| (...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1392 | 1392 |
| 1393 jsPropertyAccess(var jsObject, String property) { | 1393 jsPropertyAccess(var jsObject, String property) { |
| 1394 return JS('var', @'#[#]', jsObject, property); | 1394 return JS('var', @'#[#]', jsObject, property); |
| 1395 } | 1395 } |
| 1396 | 1396 |
| 1397 /** | 1397 /** |
| 1398 * Called at the end of unaborted switch cases to get the singleton | 1398 * Called at the end of unaborted switch cases to get the singleton |
| 1399 * FallThroughError exception that will be thrown. | 1399 * FallThroughError exception that will be thrown. |
| 1400 */ | 1400 */ |
| 1401 getFallThroughError() => const FallThroughError(); | 1401 getFallThroughError() => const FallThroughError(); |
| 1402 |
| 1403 /** |
| 1404 * Represents the type Dynamic. The compiler treats this specially. |
| 1405 */ |
| 1406 interface Dynamic { |
| 1407 } |
| 1408 |
| 1409 /** |
| 1410 * Represents the type of Null. The compiler treats this specially. |
| 1411 */ |
| 1412 class Null { |
| 1413 factory Null() { |
| 1414 throw UnsupportedOperationException('new Null()'); |
| 1415 } |
| 1416 } |
| OLD | NEW |