Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a braino in my first cut of import; we may only want to load the …
…module once, but we may need to import many times into many different scopes, so checking we only imported the first time was completely bogus.
  • Loading branch information
jnthn committed Mar 22, 2009
1 parent de786f3 commit 3d030b0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/builtins/eval.pir
Expand Up @@ -147,9 +147,6 @@ itself can be found in src/builtins/control.pir.
unless null retval goto have_retval
retval = '!FAIL'()
have_retval:
if retval goto do_import
.return (retval)
do_import:

# This is a first cut of import. It's essentially wrong, since it's meant
# by default to put stuff into the lexical pad rather than the namespace.
Expand Down

0 comments on commit 3d030b0

Please sign in to comment.