Fix a typo
This commit is contained in:
parent
43556de6d7
commit
18de260ecc
|
@ -59,8 +59,8 @@ func (e *evaluator) EvaluatePackage(pkg *pack.Package) graph.Graph {
|
|||
// Utility functions
|
||||
|
||||
func (e *evaluator) pushScope() {
|
||||
e.locals.Push() // for local variables
|
||||
e.ctx.Scope.Pop() // for symbol bindings
|
||||
e.locals.Push() // for local variables
|
||||
e.ctx.Scope.Push() // for symbol bindings
|
||||
}
|
||||
|
||||
func (e *evaluator) popScope() {
|
||||
|
|
Loading…
Reference in a new issue