You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--Warning:Ast.scala:24:9-----------------------------------------------------24|caseast: DefDef=> ast
|^^^^^^^^^^^| the typetestfor asts.untpd.DefDef cannot be checked at runtime
1 warning found
Expectation
compile as in 0.24.0-RC1
Notes
if we instead explicitly copy the variance from the parent to the case, then the warning goes away:
enumAst[-T>:Untyped]:// case DefDef()caseDefDef[-T>:Untyped]() extendsAst[T]