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

source-academy / js-slang / 2917 / 1
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 16 Apr 2020 03:02AM UTC
Files 69
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

16 Apr 2020 02:57AM UTC coverage: 88.175% (+0.3%) from 87.925%
2917.1

push

travis-ci

web-flow
Better Type Inferencing Errors (#532)

* Allow source file to be passed to repl

* added initial code for typechecker

* added support for typing variable expressions

* added basic functionality for type inference

* check in change to index.ts

* removed console logs

* commented out code

* added support for multiple statements and block statements

* added support for more statements and functions with arbitary args

* Binary expression (#1)

* add support for binary expressions and simple test cases

* remove calls to typechecker in index, fix linting issues

* Function declaration (#2)

* added support for function decl

* added linting changes

* made NaN, undefined and Infinity work

* added more tests

* added more tests

* added support for unary fns

* update linting

* removed console logs

* tidy up test cases and add conditional statements

* add predefined functions

* Polytypes (#6)

* first attempt at annotated AST

* fix inferred function types not being saved in function declarations

* annyoing precommit changes

* undo pre hook changes

* rmeove yarn tslint --fix as it was removing object literal quotes

* added integers and added more type checking support for binary expressions

* added support for polymorphic types

* commented unused code

* added more type checking for polytypes and cleaned up tests

* fixed linting

Co-authored-by: Raynold Ng <raynold.ng24@gmail.com>

* Node preprocessing (#7)

* undo generation of AST

* first attempt at hoisting const and function declarations

* commented out most of the old code

* updated tests

* added support for up to function app

* linting

* added most of the remaining cases

* wrap program around block statement and save infer types in AST

* add support for pairs

* follow spec by changing float to number and changing func signatures

* linting

* added unary negative operator

* fix ... (continued)

1731 of 2171 branches covered (79.73%)

Branch coverage included in aggregate %.

5181 of 5668 relevant lines covered (91.41%)

199727.92 hits per line

Source Files on job 2917.1
  • Tree
  • List 0
  • Changed 29
  • Source Changed 3
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2451
  • Travis Job 2917.1
  • c1317ba1 on github
  • Prev Job for on master (#2913.1)
  • Next Job for on master (#2922.1)
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