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

source-academy / js-slang / 439
77%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2018 03:03PM UTC
Jobs 1
Files 32
Run time 5s
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

pending completion
439

push

travis-ci

web-flow
Make || and && shorthand for ?: and improve TCO (#144)

* Implement LogicalExpression in terms of IfStatement

* Implement TCO for calls hidden inside ||, &&, and ?:

* Add test cases for TCO

* Use parseError on context.errors and use toEqual([]) instead of snapshot

* Use better test case for testing Infinite recursion error

* Remove ArrowClosure which fixes another TCO bug

Arrow closures could not be TCO'd before as `apply` didn't handle it
correctly. Instead of making a bunch of changes to make `apply` work I
decided to simply make all `ArrowFunctionExpresion` evaluate to `Closure`
instead of `ArrowClosure`.

This causes some of the test cases to fail, but they should've failed
from the beginning as they were all demonstrating iterative processes.

* Fix representation of functions in infinite recursion error message

* Fix regex for infinite recursion error message

The problem was that the very last call could potentially be the
function call in the argument (or not), so the regex has to match for
either i or r.

* Add test cases for mutual recursion, arrow and block arrow functions

344 of 470 branches covered (73.19%)

Branch coverage included in aggregate %.

1139 of 1444 relevant lines covered (78.88%)

10517.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 439.1 09 Dec 2018 03:03PM UTC 0
77.48
Travis Job 439.1
Source Files on build 439
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #439
  • 46077776 on github
  • Prev Build on master (#418)
  • Next Build on master (#442)
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