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 edc38af commit 5f00802Copy full SHA for 5f00802
compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala
@@ -27,7 +27,7 @@ abstract class TransformByNameApply extends MiniPhase { thisPhase: DenotTransfor
27
28
/** If denotation had an ExprType before, it now gets a function type */
29
protected def exprBecomesFunction(symd: SymDenotation)(implicit ctx: Context): Boolean =
30
- (symd.is(Param)) || symd.is(ParamAccessor, butNot = Method)
+ symd.is(Param) || symd.is(ParamAccessor, butNot = Method)
31
32
protected def isByNameRef(tree: Tree)(implicit ctx: Context): Boolean = {
33
val origDenot = originalDenotation(tree)
0 commit comments