MCPcopy Create free account
hub / github.com/decomp/decomp / mkType

Function mkType

cmd/go-post/typecheck.go:53–55  ·  view source on GitHub ↗

Partial type checker. The fact that it is partial is very important: the input is an AST and a description of some type information to assume about one or more packages, but not all the packages that the program imports. The checker is expected to do as much as it can with what it has been given.

(t string)

Source from the content-addressed store, hash-verified

51// isType tests for it.
52
53func mkType(t string) string {
54 return "type " + t
55}
56
57func getType(t string) string {
58 if !isType(t) {

Callers 2

typecheckFunction · 0.85
typecheck1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected