summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/internal/Types.scala
diff options
context:
space:
mode:
authorMiles Sabin <miles@milessabin.com>2016-08-10 09:30:49 +0100
committerMiles Sabin <miles@milessabin.com>2016-08-15 18:32:45 +0100
commitd171b2cc16cc129e0f3aa03c3df9b2fb86208aa6 (patch)
treed95c542dddf2ae9e8c12843cd1b6478a7e5ad2c6 /src/reflect/scala/reflect/internal/Types.scala
parent81a67eeacc7d2622ee364a21203b227142e2043e (diff)
downloadscala-d171b2cc16cc129e0f3aa03c3df9b2fb86208aa6.tar.gz
scala-d171b2cc16cc129e0f3aa03c3df9b2fb86208aa6.tar.bz2
scala-d171b2cc16cc129e0f3aa03c3df9b2fb86208aa6.zip
Partial fix for SI-7046
Diffstat (limited to 'src/reflect/scala/reflect/internal/Types.scala')
-rw-r--r--src/reflect/scala/reflect/internal/Types.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/reflect/scala/reflect/internal/Types.scala b/src/reflect/scala/reflect/internal/Types.scala
index 9697e16da7..3a645616eb 100644
--- a/src/reflect/scala/reflect/internal/Types.scala
+++ b/src/reflect/scala/reflect/internal/Types.scala
@@ -310,6 +310,11 @@ trait Types
/** If this is a lazy type, assign a new type to `sym`. */
def complete(sym: Symbol) {}
+ /** If this is a lazy type corresponding to a subclass add it to its
+ * parents children
+ */
+ def forceDirectSuperclasses: Unit = ()
+
/** The term symbol associated with the type
* Note that the symbol of the normalized type is returned (@see normalize)
*/