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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/NativeTest.js

Issue 9421001: Issue 1606/1108. The 'native' keyword is supposed to only be allowed in core libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/end2end/NativeTest.js
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/NativeTest.js b/compiler/javatests/com/google/dart/compiler/end2end/NativeTest.js
deleted file mode 100644
index fd2e3e5c2968d0f9380571b6f3f7d6b9b84d27a9..0000000000000000000000000000000000000000
--- a/compiler/javatests/com/google/dart/compiler/end2end/NativeTest.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-function native_NativeTest_jsIncrementBy(x, y) {
- return native_NativeTest_dartIncrementBy(x, y);
-}
-
-function FooBar() {
- this.js_const = 499;
-}
-
-function native_NativeClass_bar(x, y) {
- return this.js_const - x - y;
-}
-
-function native_NativeClass__createFooBar() {
- return new FooBar();
-}
-
-function JSA() {}
-
-function native_NativeA__new() {
- return new JSA();
-}

Powered by Google App Engine
This is Rietveld 408576698