Skip to content

Gate future features behind an @@experimental directive. #6262

Closed as not planned
@cristianoc

Description

@cristianoc

Sometimes features in the compiler are ready ahead of time, but for some reason they belong to the next version of the compiler.
Instead of letting them leave in some branch, that needs rebasing and maintenance, they can be gated under an @@future directive.
The idea is that

@@future

...

will enable all the future features.

And one can select individual one using @@future(feat1, feat2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions