Better error reporting for incorrect :after parameter of refresh

Description

clojure.tools.namespace.repl/refresh accepts symbol as named parameter :after. If this symbol cannot be resolved then this causes NullPointerException which is not helpful.
NullPointerException's stack trace:

It would be nice to verify result of 'resolve' and throw IllegalArgumentException with appropriate message. The change would be:

Used tools.namespace version 0.2.7

Environment

None

Activity

Show:
Stuart Sierra
December 19, 2014, 9:48 PM

Fix included in release 0.2.8

Completed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Stuart Sierra

Reporter

import