Ticket #190 (closed defect: invalid)
Nilable List or Dict throws when compared to nil
Reported by: | agustech | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Does not print "ok!"
class NilableListTest def main is shared l = List<of int>?() if not l == nil Console.writeLine("ok!") else l = nil
Change History
Note: See
TracTickets for help on using
tickets.