Skip to content

Support @inline inside single line comment #2717

Open
@jacob-ebey

Description

@jacob-ebey

Feature suggestion

The @inline annotation breaks the ability to have a single codebase that can be compiled via AssemblyScript and also ran natively in a JS engine that supports typescript.

I suggest adding the ability to inline functions behind a single line comment

// @inline
function criticalFunc(): void {}

or a tripple slash single line comment

/// @inline
function criticalFunc(): void {}

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