Chromium Code Reviews| 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1353 * Represents the type Dynamic. The compiler treats this specially. | 1353 * Represents the type Dynamic. The compiler treats this specially. |
| 1354 */ | 1354 */ |
| 1355 interface Dynamic { | 1355 interface Dynamic { |
| 1356 } | 1356 } |
| 1357 | 1357 |
| 1358 /** | 1358 /** |
| 1359 * Represents the type of Null. The compiler treats this specially. | 1359 * Represents the type of Null. The compiler treats this specially. |
| 1360 */ | 1360 */ |
| 1361 class Null { | 1361 class Null { |
| 1362 factory Null() { | 1362 factory Null() { |
| 1363 throw UnsupportedOperationException('new Null()'); | 1363 throw new UnsupportedOperationException('new Null()'); |
| 1364 } | 1364 } |
| 1365 } | 1365 } |
| 1366 | |
| 1367 // TODO(ahe): We should automatically generate these. | |
|
ngeoffray
2012/03/26 08:47:32
Just talked with Lasse about this. It's not so tri
ahe
2012/03/26 09:24:57
I have removed the TODO for now and continued the
| |
| 1368 builtin$get$toString(receiver) => () => builtin$toString$0(receiver); | |
| OLD | NEW |