Self referential types #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently possible only in principle, compiler rejects it because recursive use of the types own name is not resolved
Repro
Error: unknown type param: IntList (infer.ml:1992).
subst_ty assumes every TNamed in a variant payload is one of the enum's type parameters; a payload naming the enum itself isn't handled.
Fixed as of 8af56303f0