Static @dynamicCallable

Swiftc 6.1 seem to be allowing @dynamicCallable with static member, producing no diagnostics:

@dynamicCallable
struct Test {
    static func dynamicallyCall(withKeywordArguments: KeyValuePairs<String, Any>) {
        //
    }
}

Is there a way to call such dynamic callable? Or is it a sort-of miscompilation?
SE-0216 explicitly mentions static callable are out of scope:

This proposal does not introduce the ability to provide dynamically callable static/class members.

Were there any superseding proposals/pitches/etc?

1 Like