Merge: add attribute annotation `noinit` to skip the attribute in inits
authorJean Privat <jean@pryen.org>
Tue, 22 Jul 2014 03:16:56 +0000 (23:16 -0400)
committerJean Privat <jean@pryen.org>
Tue, 22 Jul 2014 03:16:56 +0000 (23:16 -0400)
~~~.rb
class Toto
   var tata: Int is noinit
   var tutu: String
end
var t = new Toto("hello") # only tutu in the constructor
~~~

Pull-Request: #600
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

1  2 
src/abstract_compiler.nit

Simple merge