All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.annotation.internal.$into.scala Maven / Gradle / Ivy

There is a newer version: 3.6.3-RC1-bin-20241119-cc4a324-NIGHTLY
Show newest version
package scala.annotation.internal
import annotation.experimental

/** An internal annotation on (part of) a parameter type that allows implicit conversions
 *  for its arguments. The publicly visible `into` annotation in the parent package
 *  `annotation` gets mapped to `$into` by the compiler in all places where
 *  conversions should be allowed. The reason for the split into two annotations
 *  is that `annotation.into` is given in source code and may propagate in unspecified
 *  ways through type inference. By contrast `$into` is constrained to occur only
 *  on parameters of method types. This makes implicit conversion insertion
 *  predictable and independent of the un-specified aspects of type inference.
 */
@experimental
class $into() extends annotation.StaticAnnotation





© 2015 - 2024 Weber Informatics LLC | Privacy Policy