lang: interfaces: Update stale comments

This commit is contained in:
James Shubin
2025-04-19 21:24:13 -04:00
parent 7096293885
commit 1a81e57410

View File

@@ -300,7 +300,7 @@ type Scope struct {
} }
// EmptyScope returns the zero, empty value for the scope, with all the internal // EmptyScope returns the zero, empty value for the scope, with all the internal
// lists initialized appropriately. // maps and lists initialized appropriately.
func EmptyScope() *Scope { func EmptyScope() *Scope {
return &Scope{ return &Scope{
Variables: make(map[string]Expr), Variables: make(map[string]Expr),
@@ -436,8 +436,8 @@ type Env struct {
Functions map[Expr]*Env Functions map[Expr]*Env
} }
// EmptyEnv returns the zero, empty value for the scope, with all the internal // EmptyEnv returns the zero, empty value for the env, with all the internal
// lists initialized appropriately. // maps initialized appropriately.
func EmptyEnv() *Env { func EmptyEnv() *Env {
return &Env{ return &Env{
Variables: make(map[Expr]*FuncSingleton), Variables: make(map[Expr]*FuncSingleton),