MCPcopy Index your code
hub / github.com/rilldata/rill / must

Function must

runtime/parser/parser_test.go:2724–2729  ·  view source on GitHub ↗
(v T, err error)

Source from the content-addressed store, hash-verified

2722}
2723
2724func must[T any](v T, err error) T {
2725 if err != nil {
2726 panic(err)
2727 }
2728 return v
2729}

Callers 15

TestCompleteFunction · 0.70
TestReparseFunction · 0.70
TestReparseNameCollisionFunction · 0.70
TestReparseRillYAMLFunction · 0.70
TestRefInferrenceFunction · 0.70
TestConnectorRefFunction · 0.70
BenchmarkReparseFunction · 0.70
TestProjectModelDefaultsFunction · 0.70
TestEnvironmentOverridesFunction · 0.70
TestReportFunction · 0.70
TestAlertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected