Version: 1.1.0

@no_inline

@no_inline — Prevents inlining. Useful when a function must stay visible in profiles or stack traces.

Example

@fieldwise_init
struct Demo:
    var value: Int

Apply @no_inline 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.