given the following files:
class C {
public function pass() { x("PASS") }
function x(anon str: String) { println("{}", str) }
}
/// Expect: selfhost-only
/// - output: "PASS\n"
import helper { C }
function main() {
C::pass()
}
the following c++ error is emitted:
build/main.cpp:20:9: error: no member named 'x' in namespace 'Jakt::helper'; did you mean simply 'x'?
return (helper::x(String("PASS")));
^~~~~~~~~
x
build/main.cpp:15:13: note: 'x' declared here
static void x(const String str);
^
1 error generated.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too