An enum with two elements can get the wrong resulting type:

> enum A { a, b };
Compiler Warning: 2: a is private but not used anywhere.
Compiler Warning: 2: b is private but not used anywhere.
Compiler Warning: 2: A is private but not used anywhere.
(1) Result: int(1..1)


The problem seems to be in or_pike_types handling of T_ZERO, but I am
unsure about how that should be fixed. Also, whats the point of those
warnings about private unused definitions? Is that a hilfe issue?

Arne

Reply via email to