Merge: Protected setters
authorJean Privat <jean@pryen.org>
Sat, 18 Jul 2015 01:42:35 +0000 (21:42 -0400)
committerJean Privat <jean@pryen.org>
Sat, 18 Jul 2015 01:42:35 +0000 (21:42 -0400)
Setters of attributes are private by default. This cause some issue as they are exposed as initializers but still invisible in client modules.
The proposed solution to resolve this inconsistency is to make setters protected by default so they are visible in client modules but only usable in subclasses.

This is a change is the spec, to RFC label is set is people have comments on the sanity/usability/kiss/pola/etc.

Close #1552

Pull-Request: #1567
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>

1  2 
src/modelize/modelize_property.nit
tests/sav/nitmetrics_args1.res

Simple merge
Simple merge