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

Unified Diff: runtime/lib/invocation_mirror_patch.dart

Issue 177633008: Better error message for assignment to final local variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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: runtime/lib/invocation_mirror_patch.dart
===================================================================
--- runtime/lib/invocation_mirror_patch.dart (revision 32974)
+++ runtime/lib/invocation_mirror_patch.dart (working copy)
@@ -9,8 +9,9 @@
static const int _GETTER = 1;
static const int _SETTER = 2;
static const int _FIELD = 3;
+ static const int _LOCAL_VAR = 4;
static const int _TYPE_SHIFT = 0;
- static const int _TYPE_BITS = 2;
+ static const int _TYPE_BITS = 3;
static const int _TYPE_MASK = (1 << _TYPE_BITS) - 1;
// These values, except _DYNAMIC and _SUPER, are only used when throwing

Powered by Google App Engine
This is Rietveld 408576698