[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1548: Extra modules leak into environment when u

From: Chicken Trac
Subject: Re: [Chicken-janitors] #1548: Extra modules leak into environment when using -j
Date: Wed, 10 Oct 2018 15:00:54 -0000

#1548: Extra modules leak into environment when using -j
            Reporter:  megane    |      Owner:
                Type:  defect    |     Status:  new
            Priority:  major     |  Milestone:  5.1
           Component:  compiler  |    Version:  5.0
          Resolution:            |   Keywords:  macro
Estimated difficulty:            |

Comment (by megane):

 Replying to [comment:2 sjamaan]:
 > I'm not sure this is an entirely correct comparison, given that
 `(import)` is now equivalent to `(use)` in CHICKEN 4.  If you do `csc -s
 m.scm -j m && csi -qbn -e '(use m) (print (string-null? "") (string-null?
 "1"))'`, you'll notice that it prints the same as C5.  So, IMO it's not a
 true regression and we should probably postpone this to 5.1, especially
 given that fixing this would probably involve changing the import
 machinery, which might lead to new bugs and cause other unexpected changes
 this late in the process.

 On CHICKEN 4 `csc -s m.scm -j m && csi -qbn -e '(use m) (print (string-
 null? "") (string-null? "1"))` gives me `Error: unbound variable: string-
 null?`. That is the expected behavior.

Ticket URL: <>
CHICKEN Scheme <>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]