Skip to content

Commit b035083

Browse files
committed
Adapt new JSCodeGen change to new scheme
1 parent 7817756 commit b035083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ class JSCodeGen()(implicit ctx: Context) {
447447
"genClassFields called with a ClassDef other than the current one")
448448

449449
// Term members that are neither methods nor modules are fields
450-
classSym.info.decls.filter(f => !f.is(Method | Module) && f.isTerm).map({ f =>
450+
classSym.info.decls.filter(f => !f.isOneOf(Method | Module) && f.isTerm).map({ f =>
451451
implicit val pos = f.span
452452

453453
val name =

0 commit comments

Comments
 (0)