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 class Hest<X> {} | 5 #import ('dart:io'); |
|
ahe
2012/12/11 14:34:45
#import -> import.
kustermann
2012/12/14 11:55:47
Done.
| |
| 6 | 6 |
| 7 main() { | 7 main() { |
| 8 var x = new Hest<int>(); | 8 var outputFile = new Options().arguments[0]; |
| 9 Expect.isTrue(x is Hest<int>); | 9 var file = new File(outputFile); |
| 10 Expect.isFalse(x is Hest<String>); | 10 file.createSync(); |
| 11 } | 11 } |
| OLD | NEW |