| Index: runtime/vm/scopes.cc
|
| diff --git a/runtime/vm/scopes.cc b/runtime/vm/scopes.cc
|
| index 588587c315e451fbea92713b50e5c6e69ed2ebfe..ee3f3b05caaf8db885c79f7e1e20f8d3876633e1 100644
|
| --- a/runtime/vm/scopes.cc
|
| +++ b/runtime/vm/scopes.cc
|
| @@ -214,7 +214,7 @@ RawLocalVarDescriptors* LocalScope::GetVarDescriptors(const Function& func) {
|
| // The parser creates internal variables that start with ":"
|
| static bool IsInternalIdentifier(const String& str) {
|
| ASSERT(str.Length() > 0);
|
| - return str.CharAt(0) == ':';
|
| + return str.CodeUnitAt(0) == ':';
|
| }
|
|
|
|
|
|
|