• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

basilisp-lang / basilisp / 7700721215
99%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2024 06:37PM UTC
Jobs 1
Files 42
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jan 2024 06:25PM UTC coverage: 98.979% (+0.007%) from 98.972%
7700721215

push

github

web-flow
Warn at compile time on arity mismatch for function invocation (#842)

Add a compile-time warning for arity mismatches on function invocations.
The warning is enabled by default (if the dev logger is enabled and
configured for at least `WARNING` level logs).

In order to facilitate this work, we also had to change the computation
of the Basilisp function `arities` attribute set. Previously this
included only fixed arities (the argument count for each non-variadic
function arity) and a `:rest` keyword if the function included a
variadic arity. Now `arities` will include all fixed arities including
the number of fixed (non-variadic) arguments to the varidic arity. This
allows for more sophisticated warnings.

As part of this bill of work, it was also required to update `partial`
to support computing a new set of `arities` for partial applications.
`functools.wraps` copies all values from `__dict__` to wrapped
functions, so partials were appearing to have the same set of arities as
their wrapped function which was never correct.

Fixes #671 
Fixes #847

1725 of 1728 branches covered (0.0%)

Branch coverage included in aggregate %.

8066 of 8164 relevant lines covered (98.8%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7700721215.1 29 Jan 2024 06:37PM UTC 0
98.98
GitHub Action Run
Source Files on build 7700721215
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7700721215
  • 8b3a2da8 on github
  • Prev Build on main (#7689478714)
  • Next Build on main (#7727731163)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc