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.
2 parents f20f92a + f19b8a1 commit a4a611cCopy full SHA for a4a611c
compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala
@@ -270,7 +270,7 @@ object TypeTestsCasts {
270
if (sym.isTypeTest) {
271
val argType = tree.args.head.tpe
272
if (!checkable(expr.tpe, argType, tree.pos))
273
- ctx.warning(s"the type test for $argType cannot be checked at runtime", tree.pos)
+ ctx.warning(i"the type test for $argType cannot be checked at runtime", tree.pos)
274
transformTypeTest(expr, tree.args.head.tpe, flagUnrelated = true)
275
}
276
else if (sym eq defn.Any_asInstanceOf)
0 commit comments