scala.compiletime.testing
extends Object with SerializableSupertypes
Object, SerializableMembers
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 ) : BooleanWhether the code type checks in the current context?
Whether the code type checks in the current context?