able to recover from invalid AST provided to JIT