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

asterite picture asterite  路  3Comments

Papierkorb picture Papierkorb  路  3Comments

Sija picture Sija  路  3Comments

nabeelomer picture nabeelomer  路  3Comments

cjgajard picture cjgajard  路  3Comments