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

Implement Chalk variable kinds #5149

Merged
merged 1 commit into from
Jul 1, 2020
Merged

Conversation

flodiebold
Copy link
Member

@flodiebold flodiebold commented Jun 30, 2020

This means we need to keep track of the kinds (general/int/float) of variables in Canonical, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.)

Should fix the last remaining issue of #2534.

@flodiebold
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jul 1, 2020
5149: Implement Chalk variable kinds r=flodiebold a=flodiebold

This means we need to keep track of the kinds (general/int/float) of variables in `Canonical`, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.)

Should fix the last remaining issue of #2534.

Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
@bors
Copy link
Contributor

bors bot commented Jul 1, 2020

Build failed:

S.get(1.);
//^^^^^^^^ f32
}
"#
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"#
"#,

This means we need to keep track of the kinds (general/int/float) of variables
in `Canonical`, which requires some more ceremony. (It also exposes some places
where we're not really dealing with canonicalization correctly -- another thing
to be cleaned up when we switch to using Chalk's types directly.)

Should fix the last remaining issue of rust-lang#2534.
@flodiebold
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 1, 2020

@bors bors bot merged commit a33eefa into rust-lang:master Jul 1, 2020
@flodiebold flodiebold deleted the var-kinds branch July 1, 2020 18:52
@lnicola
Copy link
Member

lnicola commented Jul 2, 2020

This doesn't seem to have helped with #5149?

@flodiebold
Copy link
Member Author

I suspected that, since it didn't impact unknown types a lot. I'll look into it tomorrow, probably.

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.

3 participants