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

Unified Diff: tests/language/switch_this_test.dart

Issue 10446011: Make field final in const class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/switch_this_test.dart
diff --git a/tests/language/switch_this_test.dart b/tests/language/switch_this_test.dart
index b1f90efcf86a89bfca8ae76466113ce770ebe065..fdbd834b42b8a85b4a7ffc4781e1c85e50d9d9e6 100644
--- a/tests/language/switch_this_test.dart
+++ b/tests/language/switch_this_test.dart
@@ -9,7 +9,7 @@ class Foo {
static final C2 = const Foo('C2');
static final C3 = const Foo('C3');
- var name;
+ final name;
const Foo(this.name);
foo() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698