ClojureCLR

Global vars set! by the init script is reset to original state by Clojure.Main.exe

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    .NET 4.0 Clojure 1.4.0 on Windows 7

Description

I start the repl and run my ClojureCLR as follows:

Clojure.Main.exe -i initscript -r
Clojure.Main.exe -i initscript -m foo.core

The file initscript looks like this:

(set! *warn-on-reflection* true)

The value set in the initscript is not carried over to the repl or run session. When I embed the line

(set! *warn-on-reflection* true)
into the target Clojure file, the newly set value is recognized.

Activity

David Miller made changes -
Field Original Value New Value
Resolution Declined [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: