dotty.tools

package dotty.tools

Members list

Type members

Classlikes

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CompileSettings(classPath: List[String] = ..., compileMode: CompileMode = ..., exitCode: Int = ..., javaProps: List[(String, String)] = ..., scalaArgs: List[String] = ..., residualArgs: List[String] = ..., scriptArgs: List[String] = ..., targetScript: String = ...)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FatalError(msg: String) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type WrappedResult[T] = WrappedResult[T]

Value members

Concrete methods

def WrappedResult[T](x: T): WrappedResult[T]
def result[T](using x: WrappedResult[T]): T
def unreachable(x: Any = ...): Nothing

Throws a MatchError with the given argument, or a default "unreachable" message.

Throws a MatchError with the given argument, or a default "unreachable" message.

Attributes

def unsupported(methodName: String): Nothing

Throws an UnsupportedOperationException with the given method name.

Throws an UnsupportedOperationException with the given method name.

Attributes

Concrete fields

val ListOfNil: List[Nil.type]

Cached single-element list of Nil. (Whether this helps performance has not been tested)

Cached single-element list of Nil. (Whether this helps performance has not been tested)

Attributes

Extensions

Extensions

extension [T](x: T | Null)
transparent inline def uncheckedNN: T

Should be used when we know from the context that x is not null. Flow-typing under explicit nulls will automatically insert many necessary occurrences of uncheckedNN.

Should be used when we know from the context that x is not null. Flow-typing under explicit nulls will automatically insert many necessary occurrences of uncheckedNN.

Attributes