// expect: reject E7006 // phase: 6 // spec: docs/spec/15-source-language.md ยง18 module test.static_functions fn identity(value: u64) -> u64 effects [] { return value; } fn apply u64 effects []>() -> u64 effects [] { return 42; } fn run u64 effects []>() -> u64 effects [] { return apply::>(); } fn main() -> u64 effects [] { return run::(); }