Fix Kernel.SpecialForms, RuntimeError, and :erlang decompilation #1880
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Bug Fixes
unquote(ATOM)
call definitions to compiled function by using the argument tounquote
when calculating the name of the call definition clause if possible.Needed to match anonymous function names that are
unquote
d because they contain/
to separate the outer function name from the anonymous function naming convention.Docs
signature forMacroNameArity
that is an operator orunquote
dThe signatures for operators and
unquote
d don't produce valid code that can be parsed.__struct__
functions.The signatures for the
__struct__
functions are like%Module{}
, but that's not parseable, so bypass the signatures with a specializedSignatureOverride
decompiler that matches the actual code indefstruct
.