Completed
Details
Assignee
UnassignedUnassignedReporter
Hugo DuncanHugo DuncanApproval
OkPatch
Code and TestPriority
MajorAffects versions
Fix versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Hugo Duncan
Hugo DuncanApproval
Ok
Patch
Code and Test
Priority

Affects versions
Fix versions
Created March 2, 2012 at 1:30 AM
Updated June 15, 2012 at 5:09 PM
Resolved June 15, 2012 at 5:09 PM
When requiring a namespace that doesn't compile, a namespace is still created. The attached patch removes the namespace on failure if the namespace wasn't already present on entry to load-lib. See the test case in the patch for repro instructions.
This is obviously a subset of having atomic loads. Would a step further in this direction, e.g. using a swapable state object within clojure.lang.Namespace be of interest?