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

Unified Diff: compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart

Issue 9122015: Issue 988: Compile time error missing for const class / non-final instance variables (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nits Created 8 years, 11 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/backend/js/testFieldAccessExprOpt.dart
diff --git a/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart b/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart
index d27283335df06ecd00589a37590ce9ee4c2768d5..c3dc825ad56fdc7601a22f5c9cbf9feb78ece627 100644
--- a/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart
+++ b/compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
class A {
- int x;
+ final int x;
const A() : this.x = 1;

Powered by Google App Engine
This is Rietveld 408576698