Skip to content

Commit 3eb509b

Browse files
liufengyunsmarter
andauthored
Update compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala
Co-Authored-By: Guillaume Martres <[email protected]>
1 parent 3cdd368 commit 3eb509b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ object TypeTestsCasts {
237237
nestedCtx.typerState.commit()
238238
constant(expr, Literal(Constant(false)))
239239
}
240-
else if (testCls.isPrimitiveValueClass )
240+
else if (testCls.isPrimitiveValueClass)
241241
if (foundClsSyms.size == 1 && foundClsSyms.head.isPrimitiveValueClass)
242242
constant(expr, Literal(Constant(foundClsSyms.head == testCls)))
243243
else

0 commit comments

Comments
 (0)