#458 ✓resolved
Aadi Deshpande

enum typecast fails when value is nil

Reported by Aadi Deshpande | July 15th, 2008 @ 01:11 PM

It should be possible for an enum to be nil ( either to let the default values take control or in cases where nil is an allowable value )

attached is a patch that patches dm_types to allow a nil value passed in to enum.typecast to return nil

the patch also contains an updated unit spec to test this out.


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket