You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a good point. I think we could cover this together with the confusion about a='b + c'; (($a)) not working like in Bash.
mvdan
changed the title
gosh: ternary operator in arithmetic expressions.
README: clarify that arithmetic expansions perform nested expansions lazily
Nov 29, 2018
Your parser permits lazy evaluation of the ternary operator
- ? - : -
, andgosh
does so:This is great, but perhaps it should be optional or noted somewhere?
Source: http://mywiki.wooledge.org/BashFAQ/031#Theory.
The text was updated successfully, but these errors were encountered: