dotty.tools.dotc.config

Config

Related Doc: package config

object Config

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final val InitialSuperIdsSize: Int(4096)

    Initial size of superId table

  5. final val LogPendingFindMemberThreshold: Int(10)

    How many recursive calls to findMember are performed before logging names starts Note: this threshold has to be chosen carefully.

    How many recursive calls to findMember are performed before logging names starts Note: this threshold has to be chosen carefully. Too large, and programs like tests/pos/IterableSelfRec go into polynomial (or even exponential?) compile time slowdown. Too small and normal programs will cause the compiler to do inefficient operations on findMember. The current value is determined so that (1) IterableSelfRec still compiles in reasonable time (< 10sec) (2) Compiling dotty itself only causes small pending names lists to be generated (we measured at max 6 elements) and these lists are never searched with contains.

  6. final val LogPendingSubTypesThreshold: Int(50)

    How many recursive calls to isSubType are performed before logging starts.

  7. final val LogPendingUnderlyingThreshold: Int(50)

    How many recursive calls to NamedType#underlying are performed before logging starts.

  8. final val PendingFindMemberLimit: Int

    Maximal number of outstanding recursive calls to findMember

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. final val cacheAsSeenFrom: Boolean(true)

  11. final val cacheImplicitScopes: Boolean(true)

  12. final val cacheMemberNames: Boolean(true)

  13. final val cacheMembersNamed: Boolean(true)

  14. final val checkCacheMembersNamed: Boolean(false)

  15. final val checkConstraintsNonCyclic: Boolean(false)

    When updating a constraint bound, check that the constrained parameter does not appear at the top-level of either of its bounds.

  16. final val checkConstraintsPropagated: Boolean(false)

    Check that each constraint is fully propagated.

    Check that each constraint is fully propagated. i.e. If P <: Q then the upper bound of P is a subtype of the upper bound of Q and the lower bound of Q is a subtype of the lower bound of P.

  17. final val checkConstraintsSatisfiable: Boolean(false)

    Check that each constraint resulting from a subtype test is satisfiable.

  18. final val checkConstraintsSeparated: Boolean(false)

    Make sure none of the bounds of a parameter in an OrderingConstraint contains this parameter at its toplevel (i.e.

    Make sure none of the bounds of a parameter in an OrderingConstraint contains this parameter at its toplevel (i.e. as an operand of a combination of &'s and |'s.). The check is performed each time a new bound is added to the constraint.

  19. final val checkHKApplications: Boolean(false)

    If this flag is set, higher-kinded applications are checked for validity

  20. final val checkLambdaVariance: Boolean(false)

    Check that variances of lambda arguments match the variance of the underlying lambda class.

  21. final val checkNoDoubleBindings: Boolean(true)

    Enable noDoubleDef checking if option "-YnoDoubleDefs" is set.

    Enable noDoubleDef checking if option "-YnoDoubleDefs" is set. The reason to have an option as well as the present global switch is that the noDoubleDef checking is done in a hotspot, and we do not want to incur the overhead of checking an option each time.

  22. final val checkNoSkolemsInInfo: Boolean(false)

    Check that no type appearing as the info of a SymDenotation contains skolem types.

  23. final val checkPositions: Boolean(true)

    Check positions for consistency after parsing

  24. final val checkUnerased: Boolean(false)

    Check that certain types cannot be created in erasedTypes phases.

    Check that certain types cannot be created in erasedTypes phases. Note: Turning this option on will get some false negatives, since it is possible that And/Or types are still created during erasure as the result of some operation on an existing type.

  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final val debugCheckConstraintsClosed: Boolean(false)

    Check that constraints of globally committable typer states are closed.

    Check that constraints of globally committable typer states are closed. NOTE: When enabled, the check can cause CyclicReference errors because it traverses all elements of a type. Such failures were observed when compiling all of dotty together (source seems to be in GenBCode which accesses javac's settings.)

    It is recommended to turn this option on only when chasing down a PolyParam instantiation error. See comment in Types.TypeVar.instantiate.

  27. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  29. final val failOnInstantiationToNothing: Boolean(false)

    Type comparer will fail with an assert if the upper bound of a constrained parameter becomes Nothing.

    Type comparer will fail with an assert if the upper bound of a constrained parameter becomes Nothing. This should be turned on only for specific debugging as normally instantiation to Nothing is not an error consdition.

  30. final val fastPathForRefinedSubtype: Boolean(true)

    If this flag is set, take the fast path when comparing same-named type-aliases and types

  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. final val initialUniquesCapacity: Int(40000)

    Initial capacity of uniques HashMap

  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. final val simplifyApplications: Boolean(true)

    If this flag is on, always rewrite an application S[Ts] where S is an alias for [Xs] -> U to [Xs := Ts]U.

    If this flag is on, always rewrite an application S[Ts] where S is an alias for [Xs] -> U to [Xs := Ts]U. Turning this flag on was observed to give a ~6% speedup on the JUnit test suite.

  40. final val splitProjections: Boolean(false)

    In derivedSelect, rewrite

    In derivedSelect, rewrite

    (S & T)#A --> S#A & T#A (S | T)#A --> S#A | T#A

    Not sure whether this is useful. Preliminary measurements show a slowdown of about 7% for the build when this option is enabled.

  41. final val summarizeDepth: Int(2)

    The recursion depth for showing a summarized string

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. final val traceDeepSubTypeRecursions: Boolean(false)

    Show subtype traces for all deep subtype recursions

  45. final val useFingerPrints: Boolean(true)

  46. final val verboseExplainSubtype: Boolean(true)

    When explaining subtypes and this flag is set, also show the classes of the compared types.

  47. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped