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