From: Jean Privat Date: Thu, 26 Feb 2015 02:23:18 +0000 (+0700) Subject: Merge: Generalized class members X-Git-Tag: v0.7.2~6 X-Git-Url: http://nitlanguage.org Merge: Generalized class members This PR change the way class members are parsed. Before, the order was strict: class annotations, then extern code block, then super clauses, then properties. After, annotations and super clauses can appear in any order within the properties The need is to enable class annotations inside the class (cf #1158) I did not find another simple way to do this. Now, one can write ~~~nit class B super A serializable var i: Int autoinit x, i end ~~~ Pull-Request: #1159 Reviewed-by: Lucas Bajolet Reviewed-by: Alexandre Terrasa Reviewed-by: Alexis Laferrière --- 8c2a37f4cf7cdc4a1f4ae2154180dec02d9f3bb6