From 1a81e574102d0599ef971becdaeb7980aa6e06ab Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sat, 19 Apr 2025 21:24:13 -0400 Subject: [PATCH] lang: interfaces: Update stale comments --- lang/interfaces/ast.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/interfaces/ast.go b/lang/interfaces/ast.go index 7de5ae00..55cd1171 100644 --- a/lang/interfaces/ast.go +++ b/lang/interfaces/ast.go @@ -300,7 +300,7 @@ type Scope struct { } // EmptyScope returns the zero, empty value for the scope, with all the internal -// lists initialized appropriately. +// maps and lists initialized appropriately. func EmptyScope() *Scope { return &Scope{ Variables: make(map[string]Expr), @@ -436,8 +436,8 @@ type Env struct { Functions map[Expr]*Env } -// EmptyEnv returns the zero, empty value for the scope, with all the internal -// lists initialized appropriately. +// EmptyEnv returns the zero, empty value for the env, with all the internal +// maps initialized appropriately. func EmptyEnv() *Env { return &Env{ Variables: make(map[Expr]*FuncSingleton),