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

basilisp-lang / basilisp / 7379247703
99%

Build:
DEFAULT BRANCH: main
Ran 01 Jan 2024 06:46PM CUT
Jobs 1
Files 41
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

01 Jan 2024 06:37PM CUT coverage: 99.008%. Remained the same
7379247703

push

github

web-flow
callable var (#768)

Hi,

could you please review compatibility patch with Clojure to make vars
callable. It addresses #767.

I am not sure this if the `class Var` is the right place to make vars
callable or the analyzer, which should expand them to a callable var
value last node.

Nevertheless, I will kindly request your help with the type hinting,
currently it will fail the linter with the following error

```
src/basilisp/lang/runtime.py:279:15: E1102: self.value is not callable (not-callable)
```

but not sure how to fix it, I've tried the class Var `value` property
method to return a maybe Callable but it didn't work.

Thanks

Co-authored-by: ikappaki <ikappaki@users.noreply.github.com>

1691 of 1693 branches covered (0.0%)

Branch coverage included in aggregate %.

7892 of 7986 relevant lines covered (98.82%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7379247703.1 01 Jan 2024 06:46PM CUT 41
99.01
GitHub Action Run
Source Files on build 7379247703
  • Tree
  • List 41
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
92.65
src/basilisp/lang/reference.py113 58 53 5 1.0 10 0
94.34
src/basilisp/lang/compiler/__init__.py280 95 89 6 1.0 11 0
95.8
src/basilisp/lang/compiler/optimizer.py237 101 96 5 1.0 18 0
96.13
src/basilisp/lang/vector.py249 158 151 7 1.0 23 0
97.06
src/basilisp/lang/futures.py82 32 31 1 1.0 2 0
97.06
src/basilisp/lang/map.py286 170 165 5 1.0 33 1
97.25
src/basilisp/lang/seq.py292 155 150 5 1.0 27 0
97.92
src/basilisp/cli.py513 174 170 4 1.0 18 0
98.01
src/basilisp/lang/runtime.py2173 + 31005 + 2981 + 224 1.0 253 1
98.28
src/basilisp/contrib/pytest/testrunner.py368 200 196 4 1.0 32 0
Showing 1 to 10 of 41 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  • ►
    99.01
    src/
  • Back to Repo
  • Github Actions Build #7379247703
  • cc606e8f on github
  • Prev Build on main (#7372918361)
  • Next Build on main (#7379613597)
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

© 2025 Coveralls, Inc