Require not allowed.

#2153   Compile-time error

Require not allowed.

Additional Information

Overloaded, dynamic, and overriding functions cannot be required by a module.

Explanation

A function has been declared with REQUIRE and one of OVERLOADED, DYNAMIC, or OVERRIDING. Only plain functions can be required by a module.