clauseInterleaving (original) (raw)
Scala 3
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
scala.runtime.stdLibPatches.language.experimental.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
Deprecated
[Since version 3.6]
`clauseInterleaving` is now standard, no language import is needed
Source
Graph
Supertypes
Self type
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL