Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 // Test explicit import of dart:core in the source code.. | |
| 5 | |
| 6 #library("ImportCorePrefixTest.dart"); | |
| 7 #import("dart:core", prefix:"mycore"); | |
| 8 | |
| 9 void main() { | |
| 10 var test = new Map<int,String>(); | |
|
hausner
2012/09/20 22:25:32
I don't think new Map() should work in this case.
siva
2012/09/21 00:42:35
Good point. I had named the file import_core_prefi
| |
| 11 bool boolval = false; | |
| 12 int variable = 10; | |
| 13 num value = 10; | |
| 14 } | |
| OLD | NEW |