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

chanzuckerberg / miniwdl / 122 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2018 10:28AM UTC
Files 12
Run time 0s
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

11 Nov 2018 10:23AM UTC coverage: 93.287% (-0.03%) from 93.32%
122.1

push

travis-ci

web-flow
Tighten checking of optional types (#33)

Refine treatment of optional types so that `T?` does not in general satisfy `T` during type-checking.

Test corpi seem to demand a couple of workarounds:
1. A declaration like `T? name = <expr>`satisfies `T` during typechecking since the right-hand side suggests it cannot be null at runtime. In this case `name` is bound to `T` in the type environment, although the declaration type is still considered `T?`.
2. The `size()` standard library function takes `File?` instead of `File` as an argument, to allow a pattern observed a few times in the test corpi to typecheck: `if defined(f) then size(f) else ...`. It does not seem like this should be a special case just for `size()`.

1473 of 1579 relevant lines covered (93.29%)

0.93 hits per line

Source Files on job 122.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 177
  • Travis Job 122.1
  • 612e00c0 on github
  • Prev Job for on master (#117.1)
  • Next Job for on master (#122.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