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 ea5fb1f commit 8d9fa9cCopy full SHA for 8d9fa9c
compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala
@@ -106,7 +106,7 @@ trait BCodeSkelBuilder extends BCodeHelpers {
106
107
initJClass(cnode)
108
109
- val methodSymbols = for (f <- cd.symbol.info.decls.toList if f.is(Method) && f.isTerm && !f.is(Module)) yield f
+ val methodSymbols = for (f <- cd.symbol.info.decls.iterator if f.is(Method) && f.isTerm && !f.is(Module)) yield f
110
val hasStaticCtor = methodSymbols exists (_.isStaticConstructor)
111
if (!hasStaticCtor) {
112
// but needs one ...
0 commit comments