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 | |
| 5 main() { | |
| 6 C o = const C(1); | |
| 7 } | |
| 8 | |
| 9 class Base { | |
| 10 final String name; | |
| 11 const Base(this.name); | |
| 12 } | |
| 13 | |
| 14 class C extends Base { | |
| 15 const C(var x): super(); // call super construtor with wrong arg count | |
|
kasperl
2012/02/03 15:39:20
construtor -> constructor
ngeoffray
2012/02/06 11:50:31
Done.
| |
| 16 } | |
| OLD | NEW |