Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 422121e4be080bbeb920eb8dc1cea6501d0e4172..5484a7b5d19896244d0522698f25c7d5c4fde419 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -29,7 +29,7 @@ static RawLibrary* CreateDummyLibrary(const String& library_name) { |
static RawClass* CreateDummyClass(const String& class_name, |
const Script& script) { |
const Class& cls = Class::Handle( |
- Class::New(class_name, script, Scanner::kNoSourcePos)); |
+ Class::New(class_name, script, Token::kNoSourcePos)); |
cls.set_is_synthesized_class(); // Dummy class for testing. |
return cls.raw(); |
} |
@@ -2537,17 +2537,17 @@ TEST_CASE(ContextScope) { |
const Type& dynamic_type = Type::ZoneHandle(Type::DynamicType()); |
const String& a = String::ZoneHandle(Symbols::New("a")); |
LocalVariable* var_a = |
- new LocalVariable(Scanner::kNoSourcePos, a, dynamic_type); |
+ new LocalVariable(Token::kNoSourcePos, a, dynamic_type); |
parent_scope->AddVariable(var_a); |
const String& b = String::ZoneHandle(Symbols::New("b")); |
LocalVariable* var_b = |
- new LocalVariable(Scanner::kNoSourcePos, b, dynamic_type); |
+ new LocalVariable(Token::kNoSourcePos, b, dynamic_type); |
local_scope->AddVariable(var_b); |
const String& c = String::ZoneHandle(Symbols::New("c")); |
LocalVariable* var_c = |
- new LocalVariable(Scanner::kNoSourcePos, c, dynamic_type); |
+ new LocalVariable(Token::kNoSourcePos, c, dynamic_type); |
parent_scope->AddVariable(var_c); |
bool test_only = false; // Please, insert alias. |