Skip to content

Move certain C modifiers from return type into function type #1972

@andrew4328

Description

@andrew4328
extern f : U64 -> U64

should become

let :C<"extern"> f(x: U64): U64;

not

let f(x: U64): U64+C<"extern">;

like currently.

LM has a more expressive type system, so we should utilize it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions