Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTrait selection caching does not handle subtyping properly #30225
Comments
arielb1
added
I-ICE
A-traits
I-nominated
labels
Dec 5, 2015
alexcrichton
added
the
T-compiler
label
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
|
Yeah, I've been waiting for someone to make an example for this. I had a strategy for fixing it but never got around to implementing it. Thanks for making an example @arielb1 ! |
This comment has been minimized.
This comment has been minimized.
|
triage: P-medium |
nikomatsakis
self-assigned this
Dec 17, 2015
rust-highfive
added
P-medium
and removed
I-nominated
labels
Dec 17, 2015
brson
added
the
E-mentor
label
Aug 4, 2016
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis can mentor. |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis I'd be interested in working on this if you're still willing to mentor. |
This comment has been minimized.
This comment has been minimized.
|
@cramertj hmm, at this point I think the way I want to solve this is as part of a bigger refactoring to overhaul trait system. I recently wrote the very first post of a series of posts that I hope to write explaining the approach; I need to think about the actual steps for making that transition. Would you maybe be interested in helping with that task? |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis I would absolutely be interested in helping! |
arielb1 commentedDec 5, 2015
STR
Results
Comments
@nikomatsakis and me were worried that this might be possible since we had multidispatch, but this is the first working example. I found this while poking with the unification machinery.