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

Unified Diff: compiler/lib/implementation/regexp.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/lib/implementation/regexp.dart
diff --git a/compiler/lib/implementation/regexp.dart b/compiler/lib/implementation/regexp.dart
index c63046590014118929aff6f3e9739941806a9c65..1ccff95bfb7181cffc0432a572a70100269ebb09 100644
--- a/compiler/lib/implementation/regexp.dart
+++ b/compiler/lib/implementation/regexp.dart
@@ -64,8 +64,8 @@ class JSSyntaxMatch implements Match {
}
class _LazyAllMatches implements Collection<Match> {
- JSSyntaxRegExp _regexp;
- String _str;
+ final JSSyntaxRegExp _regexp;
+ final String _str;
const _LazyAllMatches(this._regexp, this._str);

Powered by Google App Engine
This is Rietveld 408576698