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.
Activity
Cedric Vivier
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Following code compiles fine : {code] Title as string: get: return _title protected set: _title = value _title as string {code} 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. |
Following code compiles fine : {code} Title as string: get: return _title protected set: _title = value _title as string {code} 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. |
Cedric Vivier
made changes -
| Summary | getter/setter visibility modifiers are ignored by EmitAssemblyStep | Property getter/setter visibility are not checked nor emitted separately. |
Cedric Vivier
made changes -
| Summary | Property getter/setter visibility are not checked nor emitted separately. | Property getter/setter visibility is not checked nor emitted separately. |
Cedric Vivier
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |