This commit is contained in:
2021-03-31 00:51:08 +11:00
parent a66e97953e
commit 7b5998b63d
2 changed files with 1 additions and 3 deletions

View File

@@ -2,8 +2,6 @@
const parseQueryTree = (tokens, typeGraph, options) => {
let current = 1; //primed
//TODO: check for top-level keywords
//get a token that matches a type
if (!typeGraph[tokens[current - 1]]) {
throw `Expected a type in the type graph (found ${tokens[current - 1]})`;