View Issue Details

IDProjectCategoryView StatusLast Update
0001205Ecere SDKecpublic2018-09-17 23:21
ReporterCaptainBlackton Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Platformx86:linuxOSLinux MintOS Version-
Product Version0.44.15 
Summary0001205: Explicitly referencing the base class causes the compile to fail
DescriptionIn the example included below, specifying the base class member explicitly 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 GameObject::hp; } set { GameObject::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:21 CaptainBlackton New Issue