Version: 1.1.0
@__parameter
@__parameter — Legacy marker for an older closure form. Prefer a nested function or lambda.
Example
@fieldwise_init
struct Demo:
var value: Int
Apply @__parameter on the declaration it changes. Decorators are resolved while compiling. They are not runtime wrappers.
See the decorator index for the rest of the set.