Skip to content

Commit fa09399

Browse files
committed
Fix errors in SymDenotations.isCachable.
TypeVar is a TypeProxy.
1 parent 103d167 commit fa09399

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,6 @@ object SymDenotations {
13251325
def isCachable(tp: Type): Boolean = tp match {
13261326
case tp: TypeProxy => inCache(tp.underlying)
13271327
case tp: AndOrType => inCache(tp.tp1) && inCache(tp.tp2)
1328-
case tp: TypeVar => tp.inst.exists && inCache(tp.inst)
13291328
case _ => true
13301329
}
13311330

0 commit comments

Comments
 (0)