[swift-evolution] Nil coalescing operator precedence

Vladimir.S svabox at gmail.com
Wed Jun 15 08:00:54 CDT 2016


As I understand, the question is if

`a ?? x + y + z`
and
`a ? b : c + x + y`
(or `b + c * d / e`)

an "ambiguous case" ?

On 15.06.2016 15:42, Антон Жилин via swift-evolution wrote:
> It's tempting to mention SE-0077 in this context. If it's accepted, we will
> be able to make omission of parentheses an error in ambiguous cases.
>
> - Anton
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>


More information about the swift-evolution mailing list