Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Side by Side Diff: sdk/lib/html/dartium/nativewrappers.dart

Issue 2511083003: VM: [Kernel] Make NativeFieldWrapperClass[1-4] constructible when running from Kernel. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698