Skip to content
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

Display slot types #40

Closed
staticfloat opened this issue Jun 5, 2019 · 0 comments
Closed

Display slot types #40

staticfloat opened this issue Jun 5, 2019 · 0 comments

Comments

@staticfloat
Copy link
Contributor

staticfloat commented Jun 5, 2019

When printing code chunks such as

Body::Any
1 ─       Core.NewvarNode(:(#1070))
│   %2  = Zygote.size(x)::Tuple{Int64,Int64}
│   %3  = Zygote.size(x̄)::Any
│   %4  = (%2 == %3)::Any
└──       goto #3 if not %4
2 ─       return x̄

It would be very helpful to be able to display the type of , so as to be able to see the difference between the inferred types of %2 and %3.

Grand Master Valentin says:

@code_warntype can do that, so we could probably add that printing

vchuravy added a commit that referenced this issue Jun 13, 2020
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

No branches or pull requests

1 participant