Skip to content

Commit fac26d0

Browse files
committed
Add comment
1 parent 9d75466 commit fac26d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/transform/PostTyper.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
257257

258258
override def transform(tree: Tree)(using Context): Tree =
259259
try tree match {
260+
// TODO move CaseDef case lower: keep most probable trees first for performance
260261
case CaseDef(pat, _, _) =>
261262
val gadtCtx =
262263
pat.removeAttachment(typer.Typer.InferredGadtConstraints) match

0 commit comments

Comments
 (0)