CC unsoundness: TypeComparer.glb
strips capture set
#18246
Labels
Milestone
TypeComparer.glb
strips capture set
#18246
Compiler version
main
Minimized code
Output
It compiles.
Expectation
It should be rejected.
Problematic
glb
trace:Possible code location that causes this issue: https://github.com/lampepfl/dotty/blob/da16f434fa3aa74bcceacb04243f742a61f8b786/compiler/src/dotty/tools/dotc/core/TypeComparer.scala#L2603-L2609
The text was updated successfully, but these errors were encountered: