aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Types.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala
index 636204f64..ae9122853 100644
--- a/compiler/src/dotty/tools/dotc/core/Types.scala
+++ b/compiler/src/dotty/tools/dotc/core/Types.scala
@@ -41,9 +41,11 @@ object Types {
implicit def eqType: Eq[Type, Type] = Eq
- /** The class of types.
+ /** Main class representing types.
+ *
* The principal subclasses and sub-objects are as follows:
*
+ * ```none
* Type -+- ProxyType --+- NamedType ----+--- TypeRef
* | | \
* | +- SingletonType-+-+- TermRef
@@ -74,6 +76,7 @@ object Types {
* +- NoPrefix
* +- ErrorType
* +- WildcardType
+ * ```
*
* Note: please keep in sync with copy in `docs/docs/internals/type-system.md`.
*/