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

forst-lang / forst / 24628137313
76%

Build:
DEFAULT BRANCH: main
Ran 19 Apr 2026 11:38AM 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:35AM UTC coverage: 75.763% (-0.09%) from 75.852%
24628137313

push

github

haveyaseen
fix(typechecker): lazy-load Go imports and improve opaque FFI typing

Add goPackageForImportLocal so qualified calls (e.g. strings.NewReader) and
two-value assignment inference still resolve when the batch go/packages map
is empty or incomplete; reuse this path from hover import resolution.

Map named Go types to implicit before Underlying(); treat pointers to
unresolved inner types and interfaces as opaque at the boundary; allow
*implicit receivers to satisfy io.Reader. Lower *T for built-in method
checks and field paths; add light enmime-style heuristics for implicit
receivers and Envelope fields.

Treat comparison with nil as Bool when the other operand has a single
inferred type. Fix infer_assignment so the dot-import branch still runs
when Go two-value inference did not apply.

Example:

```forst
import "strings"

func main() {
	r := strings.NewReader("x")
	println(r)
}
```

58 of 111 new or added lines in 7 files covered. (52.25%)

20784 of 27433 relevant lines covered (75.76%)

89.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
59.65
-4.91% forst/internal/typechecker/lookup_field_path.go
13
65.0
2.02% forst/internal/typechecker/go_interop.go
11
40.68
-4.78% forst/internal/typechecker/builtins.go
8
68.18
-2.41% forst/internal/typechecker/unify_operators.go
2
68.31
-0.36% forst/internal/typechecker/infer_expression.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180496462 24628137313.1 19 Apr 2026 11:38AM UTC 221
75.76
GitHub Action Run
Source Files on build 24628137313
  • Tree
  • List 221
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0bd7d28 on github
  • Prev Build on main (#24627206801)
  • Next Build on main (#24628319714)
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