Agent problems
The following feature expects as its formal argument an agent:
foo (f: FUNCTION [A, TUPLE [B], C])
By giving its formal argument a type, a feature specifies what it expects of the actual arguments. Feature foo expects the passed agent to:
- refer to a feature of a descendant of class A.
- have at least one open argument. The type of it needs to be a descendant of class B.
- refer to a feature with a return type that is a descendant of class B.