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)
commit935baefde939cc7e64e164c3c036b6669788ab5c
tree13b92354adb396faef3c0f85afd27e8d242f033a
parent3aa0fcd6614471b9837bfb8fc0a3df2608a34e17
parent743672517f37b2d338e3eb2684df6c043b200856
Merge: Protected setters

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>
src/modelize/modelize_property.nit
tests/sav/nitmetrics_args1.res