We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cdd368 commit 3eb509bCopy full SHA for 3eb509b
compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala
@@ -237,7 +237,7 @@ object TypeTestsCasts {
237
nestedCtx.typerState.commit()
238
constant(expr, Literal(Constant(false)))
239
}
240
- else if (testCls.isPrimitiveValueClass )
+ else if (testCls.isPrimitiveValueClass)
241
if (foundClsSyms.size == 1 && foundClsSyms.head.isPrimitiveValueClass)
242
constant(expr, Literal(Constant(foundClsSyms.head == testCls)))
243
else
0 commit comments