lang: interfaces: Update stale comments
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user