Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inference: type bound error due to free typevar in sparam env (#51013)
Fix #50709 This issue *appears* fixed on master due to #50432, which simply removed the error. This fixes the underlying cause, which is that we sometimes return typevars in the environment from intersection that have free vars in their bounds. I think it's reasonable to just widen these aggressively, since we usually cannot do much with these kinds of unknown static parameters anyway.
- Loading branch information