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

Side by Side Diff: tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart

Issue 421483002: Remove old frog-style dummy bodies from dart2js native class tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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 // 'I' is the name of an abstract class and the name of the native class. 5 // 'I' is the name of an abstract class and the name of the native class.
6 6
7 library native_library_same_name_used_lib1; 7 library native_library_same_name_used_lib1;
8 8
9 import 'native_library_same_name_used_lib2.dart'; 9 import 'native_library_same_name_used_lib2.dart';
10 import 'dart:_foreign_helper' show JS;
10 11
11 abstract class I { 12 abstract class I {
12 I read(); 13 I read();
13 write(I x); 14 write(I x);
14 } 15 }
15 16
16 makeI() native { new Impl(); } // Hint Impl is created by makeI. 17 makeI() => JS('creates:Impl; returns:I;', 'makeI()');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698