Skip to content

Commit b3f2102

Browse files
mboveldwijnand
andcommitted
Normalize types in compareAtoms
Revert "Normalize types in compareAtoms" This reverts commit 1b52634. f Co-Authored-By: Dale Wijnand <dale.wijnand@gmail.com>
1 parent 2e37835 commit b3f2102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ object Types {
13731373
Atoms.Range(set, set)
13741374
else Atoms.Unknown
13751375

1376-
dealias match
1376+
dealias.normalized match
13771377
case tp: SingletonType =>
13781378
tp.underlying.atoms match
13791379
case as @ Atoms.Range(lo, hi) =>
@@ -1456,7 +1456,7 @@ object Types {
14561456
deskolemizer(this)
14571457

14581458
/** The result of normalization using `tryNormalize`, or the type itself if
1459-
* tryNormlize yields NoType
1459+
* tryNormalize yields NoType
14601460
*/
14611461
final def normalized(using Context): Type = {
14621462
val normed = tryNormalize

0 commit comments

Comments
 (0)