tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.03k stars 48 forks source link

intern variables insinde function don't use the function's namespace #105

Closed porky11 closed 8 years ago

porky11 commented 8 years ago
(namespace a
  (def x (var intern int 0)))

(def main (fn extern-c void (void)
  (using-namespace a
    (def y (var intern int x))))) ;;error: variable not in scope: 'x'
tomhrr commented 8 years ago

Thanks, this has been fixed.