bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bug #47433] Strange Environment when kawa.repl is passed a f


From: Tom Bousso
Subject: [Bug-kawa] [bug #47433] Strange Environment when kawa.repl is passed a file without -f
Date: Wed, 16 Mar 2016 23:30:15 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

URL:
  <http://savannah.gnu.org/bugs/?47433>

                 Summary: Strange Environment when kawa.repl is passed a file
without -f
                 Project: Kawa
            Submitted by: tbousso
            Submitted on: Wed 16 Mar 2016 11:30:14 PM GMT
                Category: Scheme library
                Severity: 3 - Normal
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

test.scm
(define a 3)
(display (environment-bound? (gnu.mapping.Environment:getCurrent) 'a))

This script prints #t if evaluated using "java kawa.repl -f test.scm" but it
prints #f if evaluated using just "java kawa.repl test.scm". I'm confused as
to how this could print #f while a maintains its value properly.

I debugged it until runFile in Shell.java which is called with lineByLine as
true if "-f" is used and false if it isn't.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47433>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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