Skip to content

Commit 8bdc994

Browse files
committed
t
1 parent 55c2002 commit 8bdc994

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ class FirstTransform extends MiniPhase with InfoTransformer { thisPhase =>
175175
constToLiteral(tree)
176176

177177
override def transformApply(tree: Apply)(using Context): Tree =
178+
println(i"treeee $tree")
178179
constToLiteral(foldCondition(tree))
179180

180181
override def transformTyped(tree: Typed)(using Context): Tree =

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ class PostTyper extends MacroTransform with InfoTransformer { thisPhase =>
304304
checkNoConstructorProxy(tree)
305305
transformSelect(tree, Nil)
306306
case tree: Apply =>
307+
println(i"post-typer $tree")
307308
val methType = tree.fun.tpe.widen.asInstanceOf[MethodType]
308309
val app =
309310
if (methType.hasErasedParams)

tests/warn/i19077.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
def f(@deprecatedName x: Int) = x*2
4+
def Test = f(x = 0)

0 commit comments

Comments
 (0)