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

source-academy / js-slang / 1323
77%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2019 02:43PM UTC
Jobs 1
Files 40
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

pending completion
1323

push

travis-ci

martin-henz
Change scoping rules for code execution (#269)

* Change scoping rules for code execution

First time code is executed:

const math_PI = 3.14;
const map = <some builtin>;
.
.
.
{
  // user code start
  const con = 1;
  let le = 2;
  // blah blah
  <store con back>
  <store le>
}

Second time code is executed:

const math_PI = 3.14;
const map = <some builtin>;
.
.
.
{
  const con = <retrieve result>
  let le = <retrieve result>
  {
    // another user code start
    const con = 2; // can declare const again here!
    // blah blah
  }
}

* Format

* Change interpreter to match new scoping rules for execution

* Replace outdated test cases

* Update test cases

* Format and revert tslint.json change

544 of 616 branches covered (88.31%)

Branch coverage included in aggregate %.

47 of 47 new or added lines in 4 files covered. (100.0%)

1709 of 1844 relevant lines covered (92.68%)

324923.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1323.1 05 Jul 2019 02:43PM UTC 0
91.59
Travis Job 1323.1
Source Files on build 1323
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1323
  • b6e1e472 on github
  • Prev Build on master (#1318)
  • Next Build on master (#1333)
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