please take a look at the four in certain manner nested object types below. On compilation (in VIP 7.4 build 7401) the code throws error e353 "Free parameter '@Type' is used in type expression". Is it a bug? If not, please explain why the error is correct.
Hi,
It does not look like this error e353 was sorted out completely when dealing with a chain of supported interfaces. Or was it? I have the same problem as earlier reported by Martin. See the code below. The commented line, as suggested by Thomas in a later post, solved the problem, but it makes the code less tidy than it should be.
interface integration{@Product}predicates/*
Save the product inside the integration object*/
save:(@Product).
end interfaceinterface transformation{@Source, @Product}supports integration{@Product}predicates/*
Sources of data for transformation.*/
sources:()->@Sourcenondeterm.
end interfaceinterface assignment{@Source, @Data, @Store}supports transformation{@Source, assignment_type}domains
assignment_type = assignment{@Source, @Data, @Store}.
end interfaceinterface assignment_support{@Source, @Data, @Store}open assignment{@Source, @Data, @Store}predicatesfrom assignment{@Source, @Data, @Store}%predicates from transformation{@Source, assignment_type}/*
The sources of assignment inputs are the products of the caller*/
sources/0->,/*
By default, products of assignment are saved in the assignment-support's local database*/
save/1end interfacegoal
succeed().