(file, query, wide)
| 881 | } |
| 882 | |
| 883 | function findExprOrThrow(file, query, wide) { |
| 884 | var expr = findExpr(file, query, wide); |
| 885 | if (expr) return expr; |
| 886 | throw ternError("No expression at the given position."); |
| 887 | } |
| 888 | |
| 889 | function ensureObj(tp) { |
| 890 | if (!tp || !(tp = tp.getType()) || !(tp instanceof infer.Obj)) return null; |
no test coverage detected
searching dependent graphs…