Ticket #117 (closed defect: fixed)
The operators ? and ?= should give a warning if the lhs is not nilable
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | Cobra 0.9 |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | coalesce, warning | Cc: |
Description
The expression a ? b will always evaluate to b if a is a non-nil type.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.