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

chapel-lang / sphinxcontrib-chapeldomain / 121
60%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2018 03:21PM UTC
Jobs 2
Files 4
Run time 575min
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
121

push

travis-ci

web-flow
Merge pull request #34 from lydia-duncan/addThrowTags

Add support for a :throw(s): tag for functions and iterators
[reviewed by @ben-albrecht]

The formatting is similar to :arg name: (because that's how the example I saw
did it for Python errors), but it doesn't allow a :type name: extension
(because that seemed silly to me).  Throw lists should be after both arguments
and return types (because that's how it is in Chapel function declarations).

This supports both `:throw:` and `:throws:` (similar to how we support both
`:return:` and `:returns:`)

Example - for a function defined as:

```chapel
proc foo(x: int): string throws { ... }
```

We expect to write the following documentation:
```
Something about foo

:arg x: some number
:type x: `int`
:return: some message
:rtype: `string`
:throws SomeError: should some condition occur
:throws SomeDifferentError: should some other condition occur
```

Adds some documentation tests to verify that this works.

2 of 2 new or added lines in 1 file covered. (100.0%)

477 of 787 relevant lines covered (60.61%)

1.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 121.1 16 Oct 2018 03:21PM UTC 0
60.61
Travis Job 121.1
2 121.2 16 Oct 2018 03:21PM UTC 0
60.61
Travis Job 121.2
Source Files on build 121
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #121
  • 00970fe1 on github
  • Prev Build on master (#117)
  • Next Build on master (#123)
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