Skip to content

Conversation

@KristofferC
Copy link
Member

No description provided.

Copy link
Contributor

@yuyichao yuyichao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't suggest this originally since the full list provides information about the slot number (mainly useful for connecting code_warntype output to the jl_ output of the expressions in the debugger). There are less straight forward ways to obtain this information so while I prefer keeping it or at least making slot numbers inferable from code_warntype output I'm kind of ok with removing these.....

else
print(emph_io, " <optimized out>")
print(emph_io, '\n')
elseif !('#' in slotnames[i] || '@' in slotnames[i])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that slot names won't have automatically generated @ in them.

@KristofferC
Copy link
Member Author

If this is needed for some low-level debugging there could be e.g. a flag that enables printing these again. I just don't think that printing them by default is necessary since they are likely of little value to most people who just want to check the type stability of their code.

@KristofferC KristofferC merged commit ed2de3c into master Sep 20, 2017
@fredrikekre fredrikekre deleted the kc/sort_opt_out branch September 20, 2017 15:57
@KristofferC
Copy link
Member Author

I think this one would be nice to have on 0.6. @ararslan

@ararslan
Copy link
Member

I'm not sure that this is backport eligible since it's technically a feature rather than a bugfix, right? Not sure though. If it's legit to backport then I'd be happy to do so.

@KristofferC
Copy link
Member Author

Alright, no big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants