Merge: Annotation lateinit
authorJean Privat <jean@pryen.org>
Fri, 29 May 2015 01:38:43 +0000 (21:38 -0400)
committerJean Privat <jean@pryen.org>
Fri, 29 May 2015 01:38:43 +0000 (21:38 -0400)
commitf06cf5a3cff04f1c35fec160ff6db92fe44752a8
tree40155bb9402a50d3a02ed8c82ef4286673ec9fbb
parentb5cd4c722ff50fa9239aa9f52c4e63ba175b05d0
parent99c09c4abfdc455938f4808aff02bf7343e21e0c
Merge: Annotation lateinit

#857 introduced `autoinit` on attributes that has a default value to initialize them latter.

This is a rarely used feature. It is also not POLA because it overloads the name `autoinit` that has a different meaning on methods cf #1308.

Thus in order to polaize the spec, the annotation is renamed `lateinit`. So close #1308.
Note: maybe the annotation will just be removed in a future PR, this one is a last attempt to keep it.

Related to #1322; required by #1311

Pull-Request: #1409
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
src/modelize/modelize_property.nit