We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d75466 commit fac26d0Copy full SHA for fac26d0
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -257,6 +257,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
257
258
override def transform(tree: Tree)(using Context): Tree =
259
try tree match {
260
+ // TODO move CaseDef case lower: keep most probable trees first for performance
261
case CaseDef(pat, _, _) =>
262
val gadtCtx =
263
pat.removeAttachment(typer.Typer.InferredGadtConstraints) match
0 commit comments