<< Back to previous view

[NREPL-41] Rebind print-.* dynamic vars when loading a file Created: 21/Mar/13  Updated: 21/Mar/13  Resolved: 21/Mar/13

Status: Closed
Project: tools.nrepl
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Colin Jones Assignee: Colin Jones
Resolution: Completed Votes: 0
Labels: None


 Description   

Syntax errors happen when the user has bound things like *print-length*, *print-depth* and those take precedence.

See https://github.com/technomancy/leiningen/issues/952

Based on discussion in that ticket, I think the right approach is to rebind these vars when doing pr-str in load_file.clj - but I haven't yet been able to reproduce locally yet.



 Comments   
Comment by Colin Jones [ 21/Mar/13 11:38 PM ]

fixed on master: https://github.com/clojure/tools.nrepl/commit/11e3993746950640cb8173fbcd3b074c53b26ce0

Generated at Sat Jul 26 00:10:24 CDT 2014 using JIRA 4.4#649-r158309.