Remove a reference to the old scope creator.
@@ -31,7 +31,7 @@ public final class MemoizedScopeCreatorTest extends TestCase {
Node root2 = new Node(Token.ROOT);
Compiler compiler = new Compiler();
compiler.initOptions(new CompilerOptions());
- ScopeCreator creator = new MemoizedScopeCreator(SyntacticScopeCreator.makeUntyped(compiler));
+ ScopeCreator creator = new MemoizedScopeCreator(new Es6SyntacticScopeCreator(compiler));
Scope scopeA = creator.createScope(root1, null);
assertSame(scopeA, creator.createScope(root1, null));
assertNotSame(scopeA, creator.createScope(root2, null));
@@ -41,7 +41,7 @@ public final class MemoizedScopeCreatorTest extends TestCase {
Compiler compiler = new Compiler();
compiler.initOptions(new CompilerOptions());
Node root = new Node(Token.ROOT);
- ScopeCreator creator = new MemoizedScopeCreator(SyntacticScopeCreator.makeUntyped(compiler));
+ ScopeCreator creator = new MemoizedScopeCreator(new Es6SyntacticScopeCreator(compiler));
Scope scopeA = creator.createScope(root, null);
boolean handled = false;
