P package

scala.compiletime.testing

extends Object with Serializable

Supertypes

Object, Serializable

Members

final case class 

Error

Represents a compile-time error.

Represents a compile-time error.

object 

Error

Represents a compile-time error.

Represents a compile-time error.

object 

ErrorKind

sealed trait 

ErrorKind

An error can be either a parse-time or a typecheck-time

An error can be either a parse-time or a typecheck-time

inline def 

typeCheckErrors

( code: String ) : List[Error]

Whether the code type checks in the current context? If not, returns a list of errors encountered on compilation. IMPORTANT: No stability guarantees are...

Whether the code type checks in the current context? If not, returns a list of errors encountered on compilation. IMPORTANT: No stability guarantees are provided on the format of these errors. This means the format and the API may change from version to version. This API is to be used for testing purposes only.

inline def 

typeChecks

( code: String ) : Boolean

Whether the code type checks in the current context?

Whether the code type checks in the current context?