Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created September 16, 2019 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ELLIOTTCABLE/6eefb69e4236ac5a7833634b28095fdf to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/6eefb69e4236ac5a7833634b28095fdf to your computer and use it in GitHub Desktop.
$ sh scripts/build.sh
TokenObject {
pos: -1,
end: -1,
flags: 8,
modifierFlagsCache: 0,
transformFlags: 0,
parent: undefined,
kind: 144
}
/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:75
throw new Error(`Unhandled kind (${typeNode.kind}) for ${typeNode}`);
^
Error: Unhandled kind (144) for [object Object]
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:75:19)
at /Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:40:51
at Array.map (<anonymous>)
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:40:42)
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:45:93)
at visit (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:105:23)
at /Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:151:35
at visitNodes (/Users/ec/Sync/Code/tridactyl/node_modules/typescript/lib/typescript.js:17016:30)
at Object.forEachChild (/Users/ec/Sync/Code/tridactyl/node_modules/typescript/lib/typescript.js:17244:24)
at visit (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:151:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment