clauseInterleaving
scala.runtime.stdLibPatches.language.experimental.clauseInterleaving
object clauseInterleaving
Adds support for clause interleaving: Methods can now have as many type clauses as they like, this allows to have type bounds depend on terms: def f(x: Int)[A <: x.type]: A
Attributes
- See also
- Source
- language.scala
- Graph
-
- Supertypes
- Self type
-
clauseInterleaving.type
In this article