Function
checkSubexpr
(node ast.Node, typeOf exprTypes, ec *common.ErrCollector)
Source from the content-addressed store, hash-verified
| 9 | ) |
| 10 | |
| 11 | func checkSubexpr(node ast.Node, typeOf exprTypes, ec *common.ErrCollector) { |
| 12 | for _, child := range parser.Children(node) { |
| 13 | check(child, typeOf, ec) |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | // check verifies that the types are valid for a given program, given |
| 18 | // the previously resolved types. |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…