MCPcopy Create free account
hub / github.com/aclements/go-misc / sameType

Method sameType

dashquery/compile.go:150–156  ·  view source on GitHub ↗

sameType requires that x and y have the same type and that both are one of typs.

(ast *ast.BinaryExpr, x, y queryNode, typs ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

exprMethod · 0.95

Calls 3

oneOfMethod · 0.95
badMethod · 0.95
typMethod · 0.65

Tested by

no test coverage detected