Skip to content

Implement ToStrs for integer types in Fir #282

@osa1

Description

@osa1

Currently we implement int-to-string convos in the backends:

fir/Fir/Num.fir

Lines 12 to 13 in d0047fc

impl ToStr[I64]:
prim toStr(self: I64) Str

That was easy back when I first added these, but now that we have two backends, and Fir compiles to quite fast C, it makes sense to implement them in Fir.

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