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 906a55f commit 8397cafCopy full SHA for 8397caf
compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
@@ -2162,7 +2162,7 @@ class JSCodeGen()(implicit ctx: Context) {
2162
2163
val genBody = {
2164
val call = if (isStaticCall) {
2165
- genApplyStatic(sym, formalCaptures.map(_.ref))
+ genApplyStatic(sym, formalCaptures.map(_.ref) ::: actualParams)
2166
} else {
2167
val thisCaptureRef :: argCaptureRefs = formalCaptures.map(_.ref)
2168
genApplyMethodMaybeStatically(thisCaptureRef, sym,
0 commit comments