ceylon / ceylon.ast

Apache License 2.0
18 stars 3 forks source link

Check children order #77

Closed lucaswerkmeister closed 9 years ago

lucaswerkmeister commented 9 years ago

A node’s children should always be in the order in which the children appear in Ceylon source code. However, I didn’t pay attention to this in the beginning, so I’d like to go through the source code and verify that the order is always correct. (For example, Annotations is usually the last parameter – so it can be defaulted – and I might have forgotten to move it in the children list a few times.)

lucaswerkmeister commented 9 years ago

I didn’t pay attention to this in the beginning

Balls to that, the very latest node – Destructure – is an offender! Bad @lucaswerkmeister!

lucaswerkmeister commented 9 years ago

Wow, there was quite a lot of faulty children! And while going through ceylon.ast I found some other stuff too, committed on master… see 518b7ed...b9fd415.