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

Type errors between operands #29

Open
verdverm opened this issue Nov 19, 2021 · 0 comments
Open

Type errors between operands #29

verdverm opened this issue Nov 19, 2021 · 0 comments

Comments

@verdverm
Copy link
Member

What should we do when we encounter incompatible types while recursing in operators? Well, we should really let the user decide.

  • default is to ignore and treat in accordance with the operators default behavior
  • flags to control per run (see below)
  • attribute to determine on per node basis (@error())

do we need an ignore-type-errors to disable attributes? the current flags default to false, so we cannot use those. Do we want three analogous to the enabling type error flags?

  • enable/ignore
    • all
    • node
    • leaf

What other applications might an @error() attribute have?

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