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 66802ac commit 3462e98Copy full SHA for 3462e98
src/dotty/tools/dotc/transform/FunctionalInterfaces.scala
@@ -26,8 +26,8 @@ class FunctionalInterfaces extends MiniPhaseTransform {
26
27
def phaseName: String = "functionalInterfaces"
28
29
- var allowedReturnTypes: Set[Symbol] = _ // moved here to make it explicit what specializations are generated
30
- var allowedArgumentTypes: Set[Symbol] = _
+ private var allowedReturnTypes: Set[Symbol] = _ // moved here to make it explicit what specializations are generated
+ private var allowedArgumentTypes: Set[Symbol] = _
31
val maxArgsCount = 2
32
33
def shouldSpecialize(m: MethodType)(implicit ctx: Context) =
0 commit comments