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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java

Issue 14712011: Version 0.5.7.3 . (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 7 years, 7 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java (revision 22658)
+++ editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java (working copy)
@@ -46,6 +46,21 @@
verify(source);
}
+ public void test_assignmentToFinals_importWithPrefix() throws Exception {
+ Source source = addSource(createSource(//
+ "library lib;",
+ "import 'lib1.dart' as foo;",
+ "main() {",
+ " foo.x = true;",
+ "}"));
+ addSource("/lib1.dart", createSource(//
+ "library lib1;",
+ "bool x = false;"));
+ resolve(source);
+ assertNoErrors();
+ verify(source);
+ }
+
public void test_breakWithoutLabelInSwitch() throws Exception {
Source source = addSource(createSource(//
"class A {",

Powered by Google App Engine
This is Rietveld 408576698