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

Next: Improve error when calling a function that is not a field operator #1223

Open
tehrengruber opened this issue Mar 24, 2023 · 0 comments

Comments

@tehrengruber
Copy link
Contributor

When a function, e.g. foo, called from a field operator, e.g. bar is accidentally not decorated as a field operator the error is not very user friendly:

gt4py.eve.exceptions.EveValueError: Symbols {SymbolRef('with_boundary_values')} not found.

Example:

def foo():
   ...

@field_operator
def bar():
   return foo()
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

1 participant