Skip to content

Commit 285e62c

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent 7a139b0 commit 285e62c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,9 +1739,7 @@ object Types {
17391739
}
17401740

17411741
/** Is this (an alias of) the `scala.Null` type? */
1742-
final def isNullType(using Context) = {
1743-
isRef(defn.NullClass)
1744-
}
1742+
final def isNullType(using Context) = isRef(defn.NullClass)
17451743

17461744
/** Is this (an alias of) the `scala.Nothing` type? */
17471745
final def isNothingType(using Context) = isRef(defn.NothingClass)

0 commit comments

Comments
 (0)