Roldak / SFSL

Statically typed Functionnal Scripting Language
1 stars 0 forks source link

Bug with cyclic inheritance #58

Closed Roldak closed 8 years ago

Roldak commented 8 years ago

This code compiles:

module test {
    type A = class : B {}
    type B = class : C {}
    type C = class : A {}
}

and

module test {
    type A = class : A {}
}