diff --git a/Evaluator/Environment.go b/Evaluator/Environment.go index a8f6ee5..487f71b 100644 --- a/Evaluator/Environment.go +++ b/Evaluator/Environment.go @@ -93,7 +93,6 @@ func (v *Environment) addFunction(name string, value Parser.FuncDeclarationState return errors.New("function already exists:" + name) } v.functions[name] = value - v.variables[name] = value //to print the signature return nil }