Skip to content

[gaml] raises a warning when arbitrary operator resolution has been done on an ambiguous call - #1179

Draft
lesquoyb wants to merge 1 commit into
mainfrom
compiler-operator-resolution
Draft

[gaml] raises a warning when arbitrary operator resolution has been done on an ambiguous call#1179
lesquoyb wants to merge 1 commit into
mainfrom
compiler-operator-resolution

Conversation

@lesquoyb

Copy link
Copy Markdown
Contributor

This solves #1176 by informing the modeler with a warning.
I think we can use that to first fix our own models in the library that "benefit" from this ambiguity. Actually for some operators it doesn't make a difference because one definition just redirect to the other after a cast. But it's probably a very bad practice to use "random" operators in our code base.

Maybe once it's done we could turn that warning into a real compile time error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant