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
{{ message }}
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
@cknitt see #718
Can you think of other examples where the printing should be different w.r.t. no ?
Now that the printing path is special-cased we can see if there's more to add.
One can argue whether if-then-else should be in parens also without ?.
This is a problem that we wouldn't have if we had used x?: ... instead of x: ?....
But I remember we discussed this before and there were good reasons for this choice.
Currently, the input
prints as
which still parses fine, but looks quite weird, as if the first
?
was applied tosomeBool
only.I think this should be printed with parentheses as in the original input.
The text was updated successfully, but these errors were encountered: