Skip to content

Add using generics #75

Open
Open
@lucteo

Description

@lucteo

Example:
using null(t: Type) = reinterpretCast(@t, untypedPtrNull)

They can be expanded as:

package _null(t: Type)
    using value = reinterpretCast(@t, untypedPtrNull)

// null(t) is expanded into by _null(t).value

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