✓
Passing This code compiles and runs correctly.
Code
// Test: Using [keyword] event without module qualification
import lib
// Using ~greet instead of ~lib:greet because lib defines [keyword]pub event greet
greet(name: "World")
Actual
Hello, World!
Expected output
Hello, World!
Flows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "World")
Imported Files
// A library with a [keyword] event that can be called unqualified
~[keyword]pub tor greet { name: string }
~proc greet|zig {
const std = @import("std");
std.debug.print("Hello, {s}!\n", .{name});
}
Test Configuration
MUST_RUN