MCPcopy
hub / github.com/google/mangle / checkBoundDecl

Function checkBoundDecl

analysis/declcheck_test.go:44–46  ·  view source on GitHub ↗
(boundDecl ast.BoundDecl)

Source from the content-addressed store, hash-verified

42}
43
44func checkBoundDecl(boundDecl ast.BoundDecl) []error {
45 return newDeclChecker(mustDecl([]ast.Atom{docAtomOne, argAtomBar, argAtomBaz}, []ast.BoundDecl{boundDecl}, nil)).check()
46}
47
48func TestBoundsCheckingPositive(t *testing.T) {
49 tests := []struct {

Callers 2

Calls 3

newDeclCheckerFunction · 0.85
mustDeclFunction · 0.85
checkMethod · 0.45

Tested by

no test coverage detected