-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack trace formatting removes name of function when calling multi arity functions #25
Comments
I see. The problem is extra dollar in the name of those functions. It breaks on this line:
That function has to be smarter. Unfortunately namespace separators are just dollars and there is no simple way how to distinguish them from dollars used in function names by user. |
Just one note, the dollar is part of CLJS compiler output for multi arity functions, it's not part of the function name from the user. The generated JS for
|
Still the same issue. I take last $ in the name and treat part after it as short name without namespace. A quick workaround: Disable "Beautify function names" in Dirac Extension options on chrome://extensions page. |
Great, can do! |
This is implemented for Dirac but could be used by other tools as well. binaryage/dirac#25
And test beautification of non-trivial exception stack-trace (issue #25)
Dirac 0.6.0
it looks like Dirac is stripping the name of the function if a multi arity function is called?
3 @ core.cljs:4621
corresponds toThe text was updated successfully, but these errors were encountered: