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 b9f498b commit 39b2b5dCopy full SHA for 39b2b5d
src/reflect/scala/reflect/internal/Types.scala
@@ -2496,6 +2496,8 @@ trait Types
2496
override def isJava = true
2497
}
2498
2499
+ // TODO: rename so it's more appropriate for the type that is for a method without argument lists
2500
+ // ("nullary" erroneously implies it has an argument list with zero arguments, it actually has zero argument lists)
2501
case class NullaryMethodType(override val resultType: Type) extends Type with NullaryMethodTypeApi {
2502
override def isTrivial = resultType.isTrivial && (resultType eq resultType.withoutAnnotations)
2503
override def prefix: Type = resultType.prefix
0 commit comments