View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001136 | Ecere SDK | compiler | public | 2017-07-08 04:48 | 2017-07-08 04:49 |
Reporter | CaptainBlackton | Assigned To | |||
Priority | immediate | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86:linux | OS | Linux Mint | OS Version | - |
Product Version | 0.44.15 | ||||
Summary | 0001136: Accessing Base Class Member Not Working | ||||
Description | Running the code below gives this error: In function ‘__ecereProp_Unit_Get_hp’: error: ‘struct Unit’ has no member named ‘hp’ | ||||
Steps To Reproduce | https://gist.github.com/jerstlouis/b866bc0d609769e47b4c639cc76609c1 | ||||
Tags | No tags attached. | ||||
|
class ResourceObject { int hp; } class Unit : ResourceObject { property int hp { /* set { *&hp = value; } get { return *hp; } */ set { ResourceObject::hp = value; } get { return ResourceObject::hp; } } } |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-08 04:48 | CaptainBlackton | New Issue | |
2017-07-08 04:49 | CaptainBlackton | Note Added: 0001457 |