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

forst-lang / forst / 24628319714
76%

Build:
DEFAULT BRANCH: main
Ran 19 Apr 2026 11:48AM 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

19 Apr 2026 11:44AM UTC coverage: 75.816% (+0.05%) from 75.763%
24628319714

push

github

haveyaseen
refactor(typechecker): generic opaque Go FFI typing and nil comparison fix

Drop name-based opaque field typing and method return heuristics: implicit
values use a single implicit method result and implicit field segments until
go/types can refine receivers. Remove third-party-specific wording from
comments.

fix(typechecker): unify `nil == nil` to Bool

Both operands are untyped nil (empty inferred type list); handle explicitly
instead of requiring a single inferred type on the other side.

test(typechecker): extend go interop and opaque lookup coverage

Add goTypeToForstType / forstAssignableToGoType / goPackageForImportLocal
tests and lookup_field_path opaque cases; unify operator tests for nil == nil
and err != nil.

builtins_test.go is reduced to a focused CheckBuiltinMethod implicit test;
many prior table-driven integration cases were deleted from that file—confirm
they are obsolete or moved elsewhere before committing.

Example (nil comparison):

```forst
ensure err == nil
```

Example (opaque Go type maps to implicit):

```go
// goTypeToForstType(reflect.TypeOf(strings.Reader{})) — named Go type -> implicit
```

8 of 8 new or added lines in 2 files covered. (100.0%)

23 existing lines in 2 files now uncovered.

20785 of 27415 relevant lines covered (75.82%)

88.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
20
63.16
-11.7% forst/internal/typechecker/infer_assignment.go
3
67.53
-0.78% forst/internal/typechecker/infer_expression.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180496555 24628319714.1 19 Apr 2026 11:48AM UTC 221
75.82
GitHub Action Run
Source Files on build 24628319714
  • Tree
  • List 221
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6e98448c on github
  • Prev Build on main (#24628137313)
  • Next Build on main (#24628430338)
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