Skip to content
ZOLO / TE180 Type · error

extern provider is not explicitly imported

Compiler diagnostic TE180: extern provider is not explicitly imported.

Why this fires

The provider in an extern declaration must be a name explicitly imported from a native plugin. Provider names are ordinary bindings.

extern csharp fn add(a: int, b: int) -> int { return a + b; }

Fix it

Import the provider before using it:

use plugin dotnet::{csharp}
extern csharp fn add(a: int, b: int) -> int { return a + b; }

If you imported a differently named provider, use that binding in the header. The diagnostic and rename suggestion point at the provider identifier.

Global index

Find your way through Zolo

Try an idea

Start here

9 results

9 results

en