Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
|
kasperl
2012/04/30 08:48:32
Maybe rename this file? Didn't Siggi change the na
karlklose
2012/05/01 11:20:55
Done.
| |
| 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 that parameters keep their names in the output. | |
|
kasperl
2012/04/30 08:48:32
Not sure I understand line 4 here. Get rid of it?
ngeoffray
2012/04/30 08:51:12
Update comment.
karlklose
2012/05/01 11:20:55
Done, removed.
| |
| 5 | |
| 6 class Hest<X> {} | |
| 7 | |
| 8 main() { | |
| 9 var x = new Hest<int>(); | |
| 10 Expect.isTrue(x is Hest<int>); | |
|
kasperl
2012/04/30 08:48:32
So would 'x is Hest<num>', 'x is Hest<Object>', 'x
karlklose
2012/05/01 11:20:55
It does not work currently.
| |
| 11 Expect.isFalse(x is Hest<String>); | |
| 12 } | |
| OLD | NEW |