eerolanguage/eero — Issue #17: Compiler allows strict enum values as initializers for built-in int types
Author: andyarvanitis
Created: 2011-12-27 22:07:32+00:00
State: open
Labels: compiler, defect

The following is allowed, and shouldn't be:
{{{
typedef { Red, Blue, Green } RGBType

int x = Red
char y = Blue
}}}