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

Unified Diff: dart/tests/compiler/dart2js/mock_libraries.dart

Issue 930143002: Remove implicit dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Issues found with unit tests. Created 5 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: dart/tests/compiler/dart2js/mock_libraries.dart
diff --git a/dart/tests/compiler/dart2js/mock_libraries.dart b/dart/tests/compiler/dart2js/mock_libraries.dart
index ab820a4c2693e03420658f82bcbdeaa14fff688a..27921b39b4abd78957d4f07cabb5a3ca46c7216e 100644
--- a/dart/tests/compiler/dart2js/mock_libraries.dart
+++ b/dart/tests/compiler/dart2js/mock_libraries.dart
@@ -70,7 +70,11 @@ const Map<String, String> DEFAULT_CORE_LIBRARY = const <String, String>{
operator -();
}''',
'print': 'print(var obj) {}',
- 'proxy': 'const proxy = 0;',
+ 'proxy': 'const proxy = const _Proxy();',
+ '_Proxy': '''
+ class _Proxy {
+ const _Proxy();
+ }''',
'Object': r'''
class Object {
const Object();

Powered by Google App Engine
This is Rietveld 408576698