ergo icon indicating copy to clipboard operation
ergo copied to clipboard

Cicero should not allow stateful clause templates without an init method

Open adrianffletcher opened this issue 4 years ago • 0 comments

Describe the bug If a stateful smart clause template has a state.json file then cicero execute will run fine. However when the smart clause template is run it will get a runtime exception as the state has not been initialized.

To Reproduce Run the attached .cta file. [email protected]

Expected behavior cicero parse should produce an error if there is state accessed but no init method.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot 2020-02-17 at 16 55 14

Additional context Cicero 0.13

adrianffletcher avatar Feb 17 '20 17:02 adrianffletcher