Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8.2
-
Fix Version/s: 0.9
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Following code compiles fine :
Title as string: get: return _title protected set: _title = value _title as string
But does not emit what is expected. It does not emit the setter as 'protected' but as 'public'.
Only the 'master' property visibility is taken into account.
Actually the whole handling of getter/setter visibility is borken.
CheckMembersProtectionLevelStep checks only for the access relative to the root property node, so with either getter or setter different than the 'root' property node, a MethodAccessException is thrown by the runtime.