Skip to content

Commit f0e9813

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent 0beb5c3 commit f0e9813

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
@@ -1745,9 +1745,7 @@ object Types {
17451745
}
17461746

17471747
/** Is this (an alias of) the `scala.Null` type? */
1748-
final def isNullType(using Context) = {
1749-
isRef(defn.NullClass)
1750-
}
1748+
final def isNullType(using Context) = isRef(defn.NullClass)
17511749

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

0 commit comments

Comments
 (0)