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

pinterest / elixir-thrift / 1126 / 2
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2018 06:08PM UTC
Files 29
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

22 Aug 2018 06:05PM UTC coverage: 92.607%. Remained the same
1126.2

push

travis-ci

web-flow
Rework the way we handle leex/yecc errors (#399)

We previously returned the low-level leex and yecc errors pretty much
verbatim, relying on our FileParseError exception module to perform any
last-minute formatting.

This change performs parse error formatting directly in Parser.parse/2,
calling :thrift_lexer.format_error/1 or :thrift_parser.format_error/1 as
appropriate. The error result is now always {:error, {line, message}}.

Also, reserved_keyword_error/2 used to raise a runtime exception. It now
returns a leex-compatible error result so that it's no longer a special
case. This was also tripping up dialyzer because the lexer pass isn't
annotated as no_return().

739 of 798 relevant lines covered (92.61%)

356.55 hits per line

Source Files on job 1126.2
  • Tree
  • List 0
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1106
  • Travis Job 1126.2
  • 2bf739fc on github
  • Prev Job for on master (#1122.2)
  • Next Job for on master (#1127.2)
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