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

forst-lang / forst / 24006688937
76%

Build:
DEFAULT BRANCH: main
Ran 05 Apr 2026 05:30PM UTC
Jobs 1
Files 170
Run time 1min
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

05 Apr 2026 05:28PM UTC coverage: 58.593% (+0.2%) from 58.433%
24006688937

push

github

haveyaseen
feat(lsp): refined hovers with type guard docs and same-package merge

Hovers for variables now include the refined type plus leading // doc
comments for each narrowing or constraint-based type guard that applies,
including peers merged from same-package analysis. Type guard names in
`is (…) Name` declarations resolve via Defs; ROADMAP reflects completed
hover/completion and cross-buffer behavior.

The typechecker records per-occurrence narrowing guards, infers nested
return expressions for metadata, normalizes assertion-alias narrowing to
underlying built-ins, and avoids clobbering TypeDefAssertionExpr-only defs
with empty shapes.

Example:

```forst
// Strength: at least 12 characters.
is (password Password) Strong {
  ensure password is Min(12)
}
```

167 of 274 new or added lines in 9 files covered. (60.95%)

7 existing lines in 2 files now uncovered.

13555 of 23134 relevant lines covered (58.59%)

11.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
51
45.74
forst/internal/typechecker/inferred_type_guards.go
27
66.3
6.4% forst/cmd/forst/lsp/hover_completion.go
15
63.46
1.64% forst/internal/typechecker/narrow_if.go
10
69.26
-2.17% forst/internal/typechecker/infer.go
3
68.98
1.63% forst/cmd/forst/lsp/definition.go
1
70.99
0.92% forst/internal/typechecker/lookup.go

Coverage Regressions

Lines Coverage ∆ File
5
55.26
-6.58% forst/internal/typechecker/types.go
2
34.41
-0.36% forst/internal/transformer/go/shape.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/179805502 24006688937.1 05 Apr 2026 05:30PM UTC 170
58.59
GitHub Action Run
Source Files on build 24006688937
  • Tree
  • List 170
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3637950b on github
  • Prev Build on main (#24006027142)
  • Next Build on main (#24006826756)
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