Index: tests/compiler/dart2js_native/private_library_test.dart |
diff --git a/tests/compiler/dart2js_extra/regress/4515_3_test.dart b/tests/compiler/dart2js_native/private_library_test.dart |
similarity index 56% |
copy from tests/compiler/dart2js_extra/regress/4515_3_test.dart |
copy to tests/compiler/dart2js_native/private_library_test.dart |
index 319eb0cac719a777093aa372c3e2f0e27b396612..d42f826901ce08c51c6b10ebf4d3431b0743d7e7 100644 |
--- a/tests/compiler/dart2js_extra/regress/4515_3_test.dart |
+++ b/tests/compiler/dart2js_native/private_library_test.dart |
@@ -2,19 +2,11 @@ |
// 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. |
-class A { |
- a(x) => x + 1; |
-} |
+// Test that a private library can be accessed from libraries in this special |
ahe
2013/01/18 11:03:10
git cl upload --similarity=0
Johnni Winther
2013/01/21 09:27:54
Ahh, that's how!
|
+// test folder. |
-f(p) => p("A"); |
+import 'dart:_isolate_helper'; |
-main() { |
- A a = new A(); |
- a.a(1); |
- var v = null; |
- try { |
- v = f(a.a); |
- } catch (e) { } |
- |
- Expect.equals(null, v); |
-} |
+void main() { |
+ print(lazyPort); |
ahe
2013/01/18 11:03:10
How about: Expect.isNotNull(lazyPort)?
Johnni Winther
2013/01/21 09:27:54
Is is actually null, since we access the field in
|
+} |