Discussions related to Visual Prolog
Martin Meyer
VIP Member
Posts: 283
Joined: 14 Nov 2002 0:01

Error using Properties from Generic Interface

Unread post by Martin Meyer »

Hi Thomas,

please have a look at below code. The compiler (build 7500) throws error c504 : The expression has type '::string', which is incompatible with the type '@Type' on it.

Regards
Martin

Code: Select all

interface objA{@Type}     properties         prop : @Type (o). end interface objA   %---   interface objB     properties from objA{string}         prop end interface objB   class objB : objB end class objB   implement objB     clauses         prop() = "". end implement objB
User avatar
Thomas Linder Puls
VIP Member
Posts: 1194
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

Thank you. We will look at it.
Regards Thomas Linder Puls
PDC
User avatar
Thomas Linder Puls
VIP Member
Posts: 1194
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

This is fixed in Visual Prolog 7.5 Build 7501.

Select Web -> Check for Updates in the IDE to updated to the latest version.
Regards Thomas Linder Puls
PDC
Post Reply