-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Make Slot a Union type #27427
Make Slot a Union type #27427
Conversation
Nice work! I haven't reviewed in much detail, but I'm amazed how small this is. Very recently though, |
On master |
Actually, forget about boot.jl, that's not threatening. |
It's essentially executable documentation at Line 443 in db158b8
The work hasn't yet been done to detangle and remove the references to TypedSlot (it's only just recently become feasible). |
OK, in that case I'm going to have a look at what can be trimmed |
I made a scan of all the uses of |
It's referenced (but will never actually appear) in abstractinterpretation.jl. It might appear in the typelattice, but you can define TypedSlot in that code (in Core.Compiler, and not a subtype of Slot) and handle it in the few cases where it is observed to appear. |
|
Will be replaced by #48693. |
Closes #27202
I'm not familiar with these files, so it would be good if someone checked I haven't broken anything by moving Slot from the C builtins to boot.jl