-
Notifications
You must be signed in to change notification settings - Fork 1.8k
address #4932,fix for errors of Binding behavior #4933
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @madneal! You're right about the additional error message.
The "expression" error also appears for the second example below—would you mind updating that section too? As in:
/*
Compilation errors:
ERROR: "str" is not bound to a value.
ERROR: expression is not bound to a value.
*/
predicate shortString(string str) {
str.length() < 10
}
@shati-patel Sorry for the miss, added |
Without the specific applicable range seen in the UI, "expression is not bound to a value" isn't very meaningful -- suggest adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the specific applicable range seen in the UI, "expression is not bound to a value" isn't very meaningful -- suggest adding
(referring to the expression i * 4)
or similar in each instance.
Fair point, @smowton. I've suggested another small tweak to clarify! After that, this should be ready to merge. Thank you for the help, @madneal ✨
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all the edits! I'll get this merged once the tests are green 😃
No description provided.