Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index b580f4bdfb57bc0922ba14f3452f8333e37a7bca..6367c74c0a8373a0caa6ed2c76f9534332099c36 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -1036,7 +1036,7 @@ TEST(ScopePositions) { |
CHECK_EQ(scope->inner_scopes()->length(), 1); |
i::Scope* inner_scope = scope->inner_scopes()->at(0); |
- CHECK_EQ(inner_scope->type(), source_data[i].scope_type); |
+ CHECK_EQ(inner_scope->scope_type(), source_data[i].scope_type); |
CHECK_EQ(inner_scope->start_position(), kPrefixLen); |
// The end position of a token is one position after the last |
// character belonging to that token. |