TypeError: Cannot read property 'type' of null
at handleOJConstDeclaration (/Users/iccir/Projects/oj/src/Builder.js:418:33)
at Controller.traverser.traverse.type (/Users/iccir/Projects/oj/src/Builder.js:544:17)
at Controller.__execute (/Users/iccir/Projects/oj/node_modules/estraverse/estraverse.js:397:31)
at Controller.traverse (/Users/iccir/Projects/oj/node_modules/estraverse/estraverse.js:501:28)
at Traverser.traverse (/Users/iccir/Projects/oj/src/Traverser.js:92:22)
at Builder.build (/Users/iccir/Projects/oj/src/Builder.js:496:15)
at async.each.e (/Users/iccir/Projects/oj/src/Compiler.js:289:21)
at /Users/iccir/Projects/oj/node_modules/async/lib/async.js:181:20
at Object.async.forEachOf.async.eachOf (/Users/iccir/Projects/oj/node_modules/async/lib/async.js:233:13)
at Object.async.forEach.async.each (/Users/iccir/Projects/oj/node_modules/async/lib/async.js:209:22)
/Users/iccir/Projects/oj/src/Compiler.js:718
throw err;
The following code throws a compiler error: