diff options
Diffstat (limited to 'core/scope.moon')
| -rw-r--r-- | core/scope.moon | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/scope.moon b/core/scope.moon index a840ba7..ed4d67d 100644 --- a/core/scope.moon +++ b/core/scope.moon @@ -15,7 +15,7 @@ class Scope L\trace "found #{val} in #{@}" return val - start, rest = key\match '^(.-)/(.*)' + start, rest = key\match '^(.-)/(.+)' if not start return @parent and L\push -> @parent\get key @@ -25,6 +25,7 @@ class Scope scope\getc!\get rest, "#{prefix}#{start}/" use: (other) => + L\trace "using defs from #{other} in #{@}" for k, v in pairs other.values @values[k] = v |
