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

Function makeSimpleDecl

analysis/validation_test.go:599–604  ·  view source on GitHub ↗
(a ast.Atom, bound ...ast.BaseTerm)

Source from the content-addressed store, hash-verified

597}
598
599func makeSimpleDecl(a ast.Atom, bound ...ast.BaseTerm) ast.Decl {
600 return ast.Decl{
601 DeclaredAtom: a,
602 Bounds: []ast.BoundDecl{{bound}},
603 }
604}
605
606func TestBoundsAnalyzer(t *testing.T) {
607 tests := []boundsTestCase{

Calls

no outgoing calls

Tested by

no test coverage detected