Closed chochos closed 9 years ago
Looks like it's done.
Yay! That was tricky, I bet!
I worked on it for a while, couldn't really figure out how to solve it, left it while I split the ClassDeclaration thing... then came back to it and kind of had an epiphany hahahah, the solution was surprisingly easy, thanks to the shitty weird things js lets you do.
Cool :)
@chochos I guess you meant to close this?
Not until we can add some tests in the language module and they all pass...
I added some (very basic) tests in the language module. Closing.
return
is (will be) allowed in constructors. But it should only return from the constructor's statements, and continue executing the class initializer code.See ceylon/ceylon-spec#1288