Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Cicero should not allow stateful clause templates without an init method #735

Open
adrianffletcher opened this issue Feb 17, 2020 · 0 comments

Comments

@adrianffletcher
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant