Skip to content

bug: eta-expanded Prim.x calls will *not* get inlined #5772

@crusso

Description

@crusso

Defined as:

public let loadNat64 : (self : Region, offset : Nat64) -> Nat64 = Prim.regionLoadNat64;

loadNat64 calls will be inlined correctly:

but not when defined as:

public func loadNat64(self : Region, offset : Nat64) : Nat64 = Prim.regionLoadNat64(self, offset);

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