I just got this confusing error message:
── TOO FEW ARGS ─────────────────────────────────────── examples/calibrate.roc ─
The test function expects 1 argument, but it got only 1:
36│ _ <- test
^^^^
Roc does not allow functions to be partially applied. Use a closure to
make partial application explicit.
Seems like a bug. test
is just test : Task {} []
yep, that's not a helpful error message! (I'm guessing what you want here is _ <- test |> Task.await
to make it compile)
would you mind opening an issue for the unhelpful error message?
https://github.com/roc-lang/roc/issues/5032
Last updated: Jul 06 2025 at 12:14 UTC