Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Unexpected Compilation Error when using Synonym Type Name
Tue, Oct 18 2016 4:17 AMPermanent Link

Michael Dreher

When compiling this...

type
 TTypeSaveObjectList = class
   // ...
 end;
 TTSList = TTypeSaveObjectList; //  Synonym Type Name, shortcut

in Version 2.05B4 I get this error message and "internal reference error".

Michael Dreher
Tue, Oct 18 2016 6:55 AMPermanent Link

Matthew Jones

Michael Dreher wrote:

> in Version 2.05B4 I get this error message and "internal reference error".

I recall something like that was fixed - try in the 2.05 release.

--

Matthew Jones
Tue, Oct 25 2016 2:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< When compiling this...

type
 TTypeSaveObjectList = class
   // ...
 end;
 TTSList = TTypeSaveObjectList; //  Synonym Type Name, shortcut

in Version 2.05B4 I get this error message and "internal reference error". >>

You can't use synonym types for classes in EWB, currently.  I'll try to get this fixed, but the compiler doesn't do a type reference resolution search in such cases, so it doesn't know what to do with such a declaration.

Tim Young
Elevate Software
www.elevatesoft.com
Image