View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001204 | Ecere SDK | ec | public | 2018-09-17 23:19 | 2018-09-17 23:19 |
Reporter | CaptainBlackton | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86:linux | OS | Linux Mint | OS Version | - |
Product Version | 0.44.15 | ||||
Summary | 0001204: Using *& to reference an inherited class caused compile to fail | ||||
Description | In the code included below, using "*&" to explicitly reference the inherited class causes the compile to fail. | ||||
Steps To Reproduce | import "ecere" class Form1 : Window { caption = $"Form1"; background = formColor; borderStyle = sizable; hasMaximize = true; hasMinimize = true; hasClose = true; clientSize = { 568, 392 }; Unit unit {}; Form1() { int myHp = unit.hp; PrintLn(myHp); } } class GameObject { int hp; } class Unit : GameObject { property int hp { get { return *&hp; } set { *&hp = value; } } } Form1 form1 {}; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-09-17 23:19 | CaptainBlackton | New Issue |