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

Free parameter error

Unread post by Martin Meyer »

Hello Thomas,

please have a look at below construct. It does not compile (in build 7501).

Regards
Martin

Code: Select all

interface obj1{@Type1}     properties         value : @Type1. end interface obj1   %---   interface obj2{@Type2}     properties from obj1{@Type2}         value end interface obj2   %---   interface obj3{@Type3}     properties from obj2{@Type3}         value end interface obj3
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

It is a bug, thank you for reporting it.

You can however without any loss take the property from obj1 instead.

Code: Select all

interface obj3{@Type3}     properties from obj1{@Type3}         value end interface obj3
(It may also be clearer to readers of the code to have the "direct" property, instead of an indirect one).
Regards Thomas Linder Puls
PDC
Post Reply