Skip to content

Add support for Context Parameters #2094

Open
@IRus

Description

@IRus

Is your feature request related to a problem? Please describe.

Coming Kotlin 2.1.20 deprecating context receivers and adding initial support for context parameters.

Describe the solution you'd like

Keep current context receiver builder function, but mark as deprecated. Introduce new context parameter builders under experimental flag.

Describe alternatives you've considered
Try to use existing API to prepend unsafe string before function

Additional context
https://github.com/Kotlin/KEEP/blob/master/proposals/context-parameters.md

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions