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

type-ruby / t-ruby / 20878972305 / 1
93%
main: 93%

Build:
DEFAULT BRANCH: main
Ran 10 Jan 2026 01:24PM UTC
Files 86
Run time 1s
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

10 Jan 2026 01:24PM UTC coverage: 92.41% (+0.07%) from 92.341%
20878972305.1

push

github

web-flow
feat: add TypeScript-style array shorthand syntax `T[]` (#36)

* feat: add TypeScript-style array shorthand syntax `T[]`

- Add `String[]` as alternative to `Array<String>`
- Support nested arrays: `Integer[][]` → `Array[Array[Integer]]`
- Support nullable arrays: `String[]?` → `(Array[String] | nil)`
- Support arrays of nullable elements: `String?[]` → `Array[String?]`
- Support union type arrays: `(String | Integer)[]`
- Both syntaxes produce identical IR and RBS output
- Add parse_postfix_type_operators for `[]` and `?` suffix handling
- Add comprehensive unit tests (15 cases) and E2E tests (14 cases)
- Update README examples to show new syntax

* Update Gemfile.lock

* fix: restore Gemfile.lock with listen gem for CI compatibility

Ruby 4.0 skips listen gem installation, but CI runs on Ruby 3.x which
requires it. Restore the original Gemfile.lock from main branch.

* refactor: remove unused legacy type parsing code from IR::Builder

TypeParser now handles all type parsing including:
- Simple types, generics, array shorthand, union, intersection, function types

Remove legacy fallback code that was never executed, improving code coverage.

8206 of 8880 relevant lines covered (92.41%)

1806.32 hits per line

Source Files on job 20878972305.1
  • Tree
  • List 86
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20878972305
  • c6a520f1 on github
  • Prev Job for on main (#20576328939.1)
  • Next Job for on main (#21091557050.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