Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stock and flow model syntax accepts non-existent stocks in flow definitions #77

Closed
Saityi opened this issue Aug 28, 2023 · 2 comments
Closed

Comments

@Saityi
Copy link
Collaborator

Saityi commented Aug 28, 2023

Issue

Currently this is accepted as a flow definition:

:stocks
A
B
C

:flows
SDKLJFHSLKDJFHSLKDFHL => f(eq) => B

Expectation

Flows that have source or target in a non-existent stock are rejected with a sensible error message.

@Saityi Saityi changed the title Stock and flow model syntax accepts non-existant stocks in flow definitions Stock and flow model syntax accepts non-existent stocks in flow definitions Aug 28, 2023
@neonWhiteout
Copy link
Collaborator

This should be able to be closed too

@Saityi
Copy link
Collaborator Author

Saityi commented Sep 28, 2023

Addressed in #80

@Saityi Saityi closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants