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

forst-lang / forst / 24696999903 / 1
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: feat/full-request-sidecar
DEFAULT BRANCH: main
Ran 21 Apr 2026 12:14AM UTC
Files 223
Run time 6s
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

21 Apr 2026 12:10AM UTC coverage: 76.292% (+0.06%) from 76.234%
24696999903.1

Pull #94

github

haveyaseen
feat(transform): errMissingMapKey sentinel and map-read FuncLit cache

Emit `var errMissingMapKey = errors.New("missing map key")` once via
`TransformerOutput.EnsureErrMissingMapKeyDecl`, reuse in map-read IIFEs, and
cache identical `*ast.FuncLit` per function (`mapIndexExprCacheKey`, hit counter
for tests). `goZeroValueGoAST` returns `nil` for pointers; add table tests and
golden/pipeline/compiler marker updates.

feat(lsp): hover on `[` after a map variable

When the cursor is on `LBracket` following a map-typed identifier, show that
lookup is `Result(V, Error)` and to use `ensure … is Ok()` before using `V`.

fix(typechecker): targeted `string()` error for raw map index Result

If the operand is a map subscript typed as `Result`, diagnose map lookup
explicitly instead of only "unsupported operand type Result". Add
`inferExpressionTypeWithExpected` hook for `IndexExpressionNode` and nested /
chained map tests.

docs(ts): clarify Result lowering vs generated TS union

Comment on `TypeResult` in `GeeScriptType`: TS discriminated union is a
static signature hint; Go remains `(T, error)` unless a codec maps wire data.

Example (diagnostic):

```forst
println(string(m["a"])) // map lookup has type Result(V, Error); use ensure first
```
Pull Request #94: feat!: map reads are Result(V, Error); emit comma-ok via Go IIFE

21338 of 27969 relevant lines covered (76.29%)

89.38 hits per line

Source Files on job 24696999903.1
  • Tree
  • List 223
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24696999903
  • 4bf5b361 on github
  • Prev Job for on feat/map-read-result (#24695237535.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