-
Notifications
You must be signed in to change notification settings - Fork 107
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
If statements with incorrect number of parameters #480
Comments
Thanks, @joeflack4! JavaRosa does the parameter count checking so that's why I moved the issue here. I think this might be a little more complex than what you've described, though. I just took a quick look and the I haven't looked at your form in great detail but I see that there a lot of |
Oh, cool. I didn't know you could move issues to a different repo o.O Hmm, sorry Hélène. I couldn't replicate. And I don't even remember why I included the whole form, rather than just an example, since this is pretty much a one-liner. In any event, from what I remember, such an So until I come across this again, I think we should close this issue. Also, what about the following issue I posted in ODK Validate; it seems to be similar to this one as well: getodk/validate#60 |
Dňa pi 6. 9. 2019, 20:51 Joe Flack <notifications@github.com> napísal(a):
… Oh, cool. I didn't know you could move issues to a different repo o.O
Hmm, sorry Hélène. I couldn't replicate. And I don't even remember why I
included the whole form, rather than just an example, since this is pretty
much a one-liner. In any event, from what I remember, such an if()
statement with more than 3 parameters was able to be converted (somehow)...
Perhaps it was nested or who knows. If I find it again I'll show it to you.
From what I remember, we experienced a runtime error in Collect.
So until I come across this again, I think we should close this issue.
------------------------------
Also, what about the following issue I posted in ODK Validate; it seems to
be similar to this one as well: getodk/validate#60
<getodk/validate#60>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#480>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANDO47OPRAKX35JPCWAMXBLQIKREZANCNFSM4IULWNUQ>
.
|
It's a new-ish feature! 🚀
That's good news! I tried to replicate what I described with relevance and couldn't get a badly-formed |
@lognaturel Oh cool. Uhh, is @priusak a new feature too, haha? Looks like a bot. |
Problem description
An issue in which
if()
statement is used without the correct number of parameters (e.g. 4+ params).Steps to reproduce the problem
if(1=0, 1, 0, 1)
. Or use the attached form.Expected behavior
The error is caught and an error message is presented.
Attachments
FQCSBaseline-V22-20190814-jef.xlsx
The text was updated successfully, but these errors were encountered: