E1862: dynamic call without a closed set of implementations
A meta stack_limit verb needs a bound for every call it makes (ADR-0103).
A meta stack_limit verb needs a bound for every call it makes (ADR-0103).
A call through a dynamic role value can reach any implementation of the
method, so the bound is only known when the program has its implementations
and they are all visible. The compiler reports this error when it finds no
perform of the called role that defines the method; a perform of another
role with a method of the same name does not count. The error points at the call and
names the method.
Example
Fix
Implement the role with a perform block, so the set of implementations is
known to the compiler.
Run actus explain E1862 in your terminal to read this entry offline. Browse Strict & toolchain or all error codes.