View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001204Ecere SDKecpublic2018-09-17 23:192018-09-17 23:19
ReporterCaptainBlackton 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
Platformx86:linuxOSLinux MintOS Version-
Product Version0.44.15 
Target VersionFixed in Version 
Summary0001204: Using *& to reference an inherited class caused compile to fail
DescriptionIn the code included below, using "*&" to explicitly reference the inherited class causes the compile to fail.
Steps To Reproduceimport "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 {};
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-09-17 23:19 CaptainBlackton New Issue



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker