We were running into issues where a namespace didn't load the first time due to errors, and subsequent loads would fail because the class was not mapped in the namespace. This adds a sanity check for this case and always evaluates the form if the class is not mapped in the namespace.
The easiest way to reproduce the issue is to create a namespace with a defrecord+, evaluate it, remove-ns it, and evaluate the namespace again.
We were running into issues where a namespace didn't load the first time due to errors, and subsequent loads would fail because the class was not mapped in the namespace. This adds a sanity check for this case and always evaluates the form if the class is not mapped in the namespace.
The easiest way to reproduce the issue is to create a namespace with a defrecord+, evaluate it, remove-ns it, and evaluate the namespace again.
at the repl: