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

forst-lang / forst / 24528745085
76%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 07:08PM UTC
Jobs 1
Files 221
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

16 Apr 2026 07:04PM UTC coverage: 75.835% (+0.9%) from 74.971%
24528745085

push

github

haveyaseen
fix(lsp): repair for-loop navigation hashing and else-if completion tokens

forNodeOccurrenceIndex now hashes *ast.ForNode (hasher only supports pointers).
definingTokenForFor uses nthForKeywordInSourceOrder so loops inside functions
resolve to the correct `for` token. Completion helpers treat lexer output where
`else` and `if` are separate tokens (plus comments) like an else-if chain.

Example:
```forst
func f() {
  for i := 0; i < 1; i++ {
    println(string(i))
  }
}
```

refactor(transformer-ts): add forstTypeMapper for TypeScriptTransformer

TypeScriptTransformer holds forstTypeMapper instead of *TypeMapping so tests can inject wrappers (e.g. one-shot error mapper) without unsafe hacks.

test: broaden unit coverage across compiler packages

Adds or extends tests for cmd/forst config and dev server, LSP navigation and completion, AST/printer/compiler/discovery/hoverdoc, transformer Go pipeline batch cases, TS merge/transform/type mapping, and typechecker snippets, narrowing display, and rangeTypesForTwoVars.

docs: refresh ROADMAP testing table and merge-gate wording

Points merged statement work at docs/adoption/merged-statement-plan.md; trims redundant alias paragraph; renames “Test coverage” section intent.

chore: remove doc-only internal/hotpaths package

38 of 55 new or added lines in 2 files covered. (69.09%)

8 existing lines in 2 files now uncovered.

20621 of 27192 relevant lines covered (75.83%)

89.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
73.55
-0.13% forst/cmd/forst/lsp/completion.go
3
52.43
10.03% forst/cmd/forst/lsp/navigation_locals.go

Coverage Regressions

Lines Coverage ∆ File
4
73.55
-0.13% forst/cmd/forst/lsp/completion.go
4
52.43
10.03% forst/cmd/forst/lsp/navigation_locals.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180395155 24528745085.1 16 Apr 2026 07:08PM UTC 221
75.83
GitHub Action Run
Source Files on build 24528745085
  • Tree
  • List 221
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 11f90183 on github
  • Prev Build on main (#24525200064)
  • Next Build on main (#24557461000)
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