Stack trace: bracket-matched hiding and expanding and more #3045
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.
We now use Julia's built-in (curly-bracket matched) method to shorten type information. (From JuliaLang/julia#49795, suggested by #3006.)
You can click to expand and see all types.
Schermopname.2024-10-04.om.10.55.50.mov
Also notice: the first frame has a big parameterized callable type, but in the unexpanded form, just the name is shown.
Anonymous function
This PR also adds a special case for anonymous functions. Instead of a generated name like
#15
or#24#25
, it shows "anonymous function" and you can hover to learn what that phrase means:Compare this to the REPL:
Highlighted function argument names
The argument names are now highlighted in grey (
x
insqrt(x::Float64)
)Try this Pull Request!
Open Julia and type: