c2compiler icon indicating copy to clipboard operation
c2compiler copied to clipboard

Enum type cannot be an alias

Open lerno opened this issue 6 years ago • 0 comments

The following code gives an error, even though it's correct:

type Foo i32;

type Bar enum Foo
{
  Baz
}

This is due to C2C disallowing any alias as enum type.

lerno avatar Feb 01 '19 10:02 lerno