View Issue Details

IDProjectCategoryView StatusLast Update
0001136Ecere SDKcompilerpublic2017-07-08 04:49
ReporterCaptainBlackton Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
Status newResolutionopen 
Platformx86:linuxOSLinux MintOS Version-
Product Version0.44.15 
Summary0001136: Accessing Base Class Member Not Working
DescriptionRunning the code below gives this error:

   In function ‘__ecereProp_Unit_Get_hp’:
   error: ‘struct Unit’ has no member named ‘hp’
Steps To Reproducehttps://gist.github.com/jerstlouis/b866bc0d609769e47b4c639cc76609c1
TagsNo tags attached.

Activities

CaptainBlackton

2017-07-08 04:49

reporter   ~0001457

class ResourceObject
{
   int hp;
}

class Unit : ResourceObject
{
   property int hp
   {
      /*
      set { *&hp = value; }
      get { return *hp; }
      */

      set { ResourceObject::hp = value; }
      get { return ResourceObject::hp; }
   }
}

Issue History

Date Modified Username Field Change
2017-07-08 04:48 CaptainBlackton New Issue
2017-07-08 04:49 CaptainBlackton Note Added: 0001457