CompileVariants

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def assert[A](inline value: => A)(inline assertion: Assertion[A])(implicit trace: Trace, sourceLocation: SourceLocation): TestResult
inline def assertTrue(inline exprs: => Boolean*)(implicit sourceLocation: SourceLocation): TestResult
inline def assertZIO[R, E, A](effect: ZIO[R, E, A])(assertion: Assertion[A]): ZIO[R, E, TestResult]
inline def typeCheck(inline code: String): UIO[Either[String, Unit]]

Returns either Right if the specified string type checks as valid Scala code or Left with an error message otherwise. Dies with a runtime exception if specified string cannot be parsed or is not a known value at compile time.

Returns either Right if the specified string type checks as valid Scala code or Left with an error message otherwise. Dies with a runtime exception if specified string cannot be parsed or is not a known value at compile time.