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 4c67bb1 commit 90e1729Copy full SHA for 90e1729
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