View Issue Details

IDProjectCategoryView StatusLast Update
0001204Ecere SDKecpublic2018-09-17 23:19
ReporterCaptainBlackton Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Platformx86:linuxOSLinux MintOS Version-
Product Version0.44.15 
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.

Activities

There are no notes attached to this issue.

Issue History

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