E1104: facade names a sibling that does not exist

View source

A canonical facade exports the declarations of its siblings with a line open <name>;.

A canonical facade exports the declarations of its siblings with a line open <name>;. The name must be a file <name>.act in the same directory, or a child directory with its own facade (ADR-0018). The compiler rejects a facade that opens a name for which neither exists. The message names the module, its facade and the missing <name>.act. The error is reported on the facade, at the line of its open <name>; declaration.

Example

actus
import shapes;

verb main() {
}
actus
open circle;

Fix

Create the sibling file, or correct the name in the facade.

actus
import shapes;

verb main() {
}
actus
open circle;
actus
open verb area() -> Int {
    return 1;
}

Run actus explain E1104 in your terminal to read this entry offline. Browse Modules & rules or all error codes.