Wiki

Ticket #190 (closed defect: invalid)

Opened 9 years ago

Last modified 9 years ago

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

Changed 9 years ago by agustech

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.