[CLJS-666] :require-macros should throw a sensible error if no macro file exists Created: 06/Nov/13 Updated: 22/May/17 Resolved: 11/Mar/15
|Comment by Jonas Enlund [ 25/Apr/14 1:29 PM ]|
What would you consider to be a sensible error? The resulting stacktrace after a failed (:require [cljs.reader :include-macros true]) looks like this:
|Comment by David Nolen [ 11/Mar/15 2:17 PM ]|
The current error seems fine.
|Comment by Mike Thompson [ 21/May/17 8:11 PM ]|
A further data point ...
One of my guys here has a PhD and has been a professional programmer for 15 years (2 years in ClojureScript) He is smart and skillful, and he just spent over an hour being baffled by this message. I'd argue that, empirically, the error message is not fine.
I'd also argue that for every person who goes to the trouble of filing an issue or a comment, there would be hundreds who just swear under their breath, shake their head and silently continue on.
|Comment by David Nolen [ 22/May/17 3:56 PM ]|
This ticket was closed because "sensible" is always up for interpretation and no patch was provided. Feel free to provide a patch and I will take a look.