Crystal: Inheriting Enum

Created on 26 Nov 2016  路  1Comment  路  Source: crystal-lang/crystal

Right now it's possible to inherit from Enum despite not being an abstract struct.
Before relying on this behavior I'd like to know if it's intended because it looks like something that will be removed once pointed out.

bug compiler

Most helpful comment

Well, it was fun while it lasted.

>All comments

Well, it was fun while it lasted.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ArthurZ picture ArthurZ  路  3Comments

Papierkorb picture Papierkorb  路  3Comments

costajob picture costajob  路  3Comments

grosser picture grosser  路  3Comments

oprypin picture oprypin  路  3Comments