-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
F-explicit_tail_calls`#![feature(explicit_tail_calls)]``#![feature(explicit_tail_calls)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-incomplete-featuresThis issue requires the use of incomplete features.This issue requires the use of incomplete features.
Description
We have a check for become f()
tail calls which enforces that the callee's signature is compatible with the caller's signature.
Right now that compatibility check enforces equality of arguments, but I think it only should require a subtyping relationship between arguments.
I'm just opening this issue to track this so we don't forget that we should relax this and also reason about why it's sound.
WaffleLapkin
Metadata
Metadata
Assignees
Labels
F-explicit_tail_calls`#![feature(explicit_tail_calls)]``#![feature(explicit_tail_calls)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-incomplete-featuresThis issue requires the use of incomplete features.This issue requires the use of incomplete features.