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)
commitea7c76ef0d12c87f880582767242a725eab43355
tree4937f5b9322a2983b35884d7daaad680c4d161ba
parent7f9f4a6d604d35c8609c5a2258dee75aeae7f2f4
parent515e08c7a3e2c5284e82f6fea043c95a1724f232
Merge: add attribute annotation `noinit` to skip the attribute in inits

~~~.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>
src/abstract_compiler.nit