Wiki

Ticket #5 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

Make truthfulness treatment of nilable types consisent

Reported by: Chuck.Esterbrook Owned by:
Priority: major Milestone:
Component: Cobra Compiler Version: 0.7.4
Keywords: Cc:

Change History

Changed 16 years ago by Chuck

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:1769

Check-in comment included this:

Regarding "truthfulness" such as found in assert, if and if(...), primitive nilable types such as bool? and int? now have their value examined. Previously, simply being non-nil was enough to be true, but that was not intuitive nor consistent with dynamic?.

Note: See TracTickets for help on using tickets.