Skip to content

Commit 5f00802

Browse files
Update compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala
1 parent edc38af commit 5f00802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract class TransformByNameApply extends MiniPhase { thisPhase: DenotTransfor
2727

2828
/** If denotation had an ExprType before, it now gets a function type */
2929
protected def exprBecomesFunction(symd: SymDenotation)(implicit ctx: Context): Boolean =
30-
(symd.is(Param)) || symd.is(ParamAccessor, butNot = Method)
30+
symd.is(Param) || symd.is(ParamAccessor, butNot = Method)
3131

3232
protected def isByNameRef(tree: Tree)(implicit ctx: Context): Boolean = {
3333
val origDenot = originalDenotation(tree)

0 commit comments

Comments
 (0)