Skip to content

Commit 60ba307

Browse files
committed
undo spurious edit
1 parent 0c0add6 commit 60ba307

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
@@ -1717,9 +1717,7 @@ object Types {
17171717
}
17181718

17191719
/** Is this (an alias of) the `scala.Null` type? */
1720-
final def isNullType(using Context) = {
1721-
isRef(defn.NullClass)
1722-
}
1720+
final def isNullType(using Context) = isRef(defn.NullClass)
17231721

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

0 commit comments

Comments
 (0)