Skip to content

Add strong typedefs #677

@lefticus

Description

@lefticus
using Type = int;

Like in C++, except this is actually a strong typedef

def fun(Type val) {}

fun(42); // fails
fun(Type(42)); // succeeds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions