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 7817756 commit b035083Copy full SHA for b035083
compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
@@ -447,7 +447,7 @@ class JSCodeGen()(implicit ctx: Context) {
447
"genClassFields called with a ClassDef other than the current one")
448
449
// Term members that are neither methods nor modules are fields
450
- classSym.info.decls.filter(f => !f.is(Method | Module) && f.isTerm).map({ f =>
+ classSym.info.decls.filter(f => !f.isOneOf(Method | Module) && f.isTerm).map({ f =>
451
implicit val pos = f.span
452
453
val name =
0 commit comments