We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c4bd2 commit 47ba19cCopy full SHA for 47ba19c
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -285,7 +285,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
285
// Ideally, this should be done by Typer, but we run into cyclic references
286
// when trying to typecheck self types which are intersections.
287
else if (tree.tpt.symbol == defn.orType)
288
- // nothing to do
+ () // nothing to do
289
else
290
Checking.checkAppliedType(tree, boundsCheck = !ctx.mode.is(Mode.Pattern))
291
super.transform(tree)
0 commit comments