incorrect-type-in-enum-value ( expected-type value word -- * )


Vocabulary
classes.enumeration

Inputs
expected-typean object
valuean object
worda word


Outputs
None

Word description
Throws an incorrect-type-in-enum-value error.

Error description
Thrown when one element of an enum isn't of the enum's base type. For example, if the enum extends fixnum but the value is of type string

Definition