Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011, 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 | |
| 5 // Check that there's no crash when constructor called with wrong | |
| 6 // number of args. | |
| 7 | |
| 8 | |
| 9 class Klass { | |
| 10 Klass(var v) {} | |
| 11 } | |
| 12 | |
| 13 | |
| 14 main() { | |
| 15 var k = new Klass(); | |
|
jimhug
2011/12/16 17:29:39
FWIW - I'd add in another case here just to quickl
dgrove
2011/12/16 17:49:56
Done.
| |
| 16 } | |
| OLD | NEW |