Discussions related to Visual Prolog
Martin Meyer
VIP Member
Posts: 354 Joined: 14 Nov 2002 0:01
Post
by Martin Meyer » 18 Oct 2014 12:34
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
Thomas Linder Puls
VIP Member
Posts: 1468 Joined: 28 Feb 2000 0:01
Post
by Thomas Linder Puls » 20 Oct 2014 11:21
Thank you. We will look at it.
Regards Thomas Linder Puls
PDC
Thomas Linder Puls
VIP Member
Posts: 1468 Joined: 28 Feb 2000 0:01
Post
by Thomas Linder Puls » 8 Dec 2014 10:16
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