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 library nativewrappers; | 5 library nativewrappers; |
6 | 6 |
7 class NativeFieldWrapperClass1 { | 7 class NativeFieldWrapperClass1 { } |
8 NativeFieldWrapperClass1() { | |
9 throw new UnsupportedError( | |
10 "Generative constructors not supported on native types."); | |
11 } | |
12 } | |
13 | 8 |
14 class NativeFieldWrapperClass2 { | 9 class NativeFieldWrapperClass2 { } |
15 NativeFieldWrapperClass2() { | |
16 throw new UnsupportedError( | |
17 "Generative constructors not supported on native types."); | |
18 } | |
19 } | |
20 | 10 |
21 class NativeFieldWrapperClass3 { | 11 class NativeFieldWrapperClass3 { } |
22 NativeFieldWrapperClass3() { | |
23 throw new UnsupportedError( | |
24 "Generative constructors not supported on native types."); | |
25 } | |
26 } | |
27 | 12 |
28 class NativeFieldWrapperClass4 { | 13 class NativeFieldWrapperClass4 { } |
29 NativeFieldWrapperClass4() { | |
30 throw new UnsupportedError( | |
31 "Generative constructors not supported on native types."); | |
32 } | |
33 } | |
34 | |
OLD | NEW |