Skip to content

Commit

Permalink
Remove SymbolGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Jun 18, 2024
1 parent 7b17c9c commit bf189e6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import net.starlark.java.eval.Starlark;
import net.starlark.java.eval.StarlarkSemantics;
import net.starlark.java.eval.StarlarkThread;
import net.starlark.java.eval.SymbolGenerator;
import net.starlark.java.syntax.ParserInput;
import net.starlark.java.syntax.Program;
import net.starlark.java.syntax.StarlarkFile;
Expand Down Expand Up @@ -121,8 +120,7 @@ private VendorThreadContext getVendorFileContext(
starlarkSemantics, starlarkEnv.getStarlarkGlobals().getVendorToplevels());
Program program = Program.compileFile(vendorFile, predeclaredEnv);
StarlarkThread thread =
StarlarkThread.create(
mu, starlarkSemantics, /* contextDescription= */ "", SymbolGenerator.create(skyKey));
new StarlarkThread(mu, starlarkSemantics, /* contextDescription= */ "");
VendorThreadContext context = new VendorThreadContext();
context.storeInThread(thread);
Starlark.execFileProgram(program, predeclaredEnv, thread);
Expand Down

0 comments on commit bf189e6

Please sign in to comment.