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 cab4fa2 commit ddbc1d1Copy full SHA for ddbc1d1
src/dotty/tools/dotc/transform/Erasure.scala
@@ -471,7 +471,7 @@ object Erasure extends TypeTestsCasts{
471
override def typedDefDef(ddef: untpd.DefDef, sym: Symbol)(implicit ctx: Context) = {
472
var effectiveSym = sym
473
if (sym == defn.newRefArrayMethod) {
474
- // newRefArray is treated specially: It's new only method source-defined method
+ // newRefArray is treated specially: It's the only source-defined method
475
// that has a polymorphic type after erasure. But treating its (dummy) definition
476
// with a polymorphic type at and after erasure is an awkward special case.
477
// We therefore rewrite the method definition with a new Symbol of type
0 commit comments