We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c251456 commit ce7cd5dCopy full SHA for ce7cd5d
src/engine/internal/engine.cpp
@@ -274,6 +274,9 @@ void Engine::compile()
274
auto script = std::make_shared<Script>(target.get(), block, this);
275
m_scripts[block] = script;
276
script->setCode(compiler.compile(block));
277
+
278
+ if (block->hatPredicateCompileFunction())
279
+ script->setHatPredicateCode(compiler.compile(block, true));
280
} else {
281
std::cout << "warning: unsupported top level block: " << block->opcode() << std::endl;
282
m_unsupportedBlocks.insert(block->opcode());
0 commit comments