Anonymous | Login | Signup for a new account | 2019-12-10 12:48 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
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 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
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. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2018-09-17 23:19 | CaptainBlackton | New Issue |
Copyright © 2000 - 2019 MantisBT Team |