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)
| 51 | // isType tests for it. |
| 52 | |
| 53 | func mkType(t string) string { |
| 54 | return "type " + t |
| 55 | } |
| 56 | |
| 57 | func getType(t string) string { |
| 58 | if !isType(t) { |
no outgoing calls
no test coverage detected