Mismatch between require and supply.

#2146   Compile-time error

Mismatch between require and supply.

Additional Information

The imported module requires GLOBAL X, but a FUNCTION is supplied.

Explanation

An IMPORT statement is trying to satisfy a module requirement with an object of a wrong kind.