Inferring type succeeds with too little information #37188
Labels
A-inference
Area: Type inference
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code fails to compile:
The error is:
(from playpen ; same with stable)
Strangely, replacing that failing line with:
makes it compile.
The text was updated successfully, but these errors were encountered: