Skip to content

Commit ad6e8bb

Browse files
committed
Remove dead code due to merge error
1 parent d9289be commit ad6e8bb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,13 +1184,6 @@ class Definitions {
11841184

11851185
def isBottomClassAfterErasure(cls: Symbol): Boolean = cls == NothingClass || cls == NullClass
11861186

1187-
def isBottomType(tp: Type): Boolean =
1188-
if (ctx.explicitNulls && !ctx.phase.erasedTypes) tp.derivesFrom(NothingClass)
1189-
else isBottomTypeAfterErasure(tp)
1190-
1191-
def isBottomTypeAfterErasure(tp: Type): Boolean =
1192-
tp.derivesFrom(NothingClass) || tp.derivesFrom(NullClass)
1193-
11941187
/** Is any function class where
11951188
* - FunctionXXL
11961189
* - FunctionN for N >= 0

0 commit comments

Comments
 (0)