Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Add support for BigInt ranges #132

@Strilanc

Description

@Strilanc

I'd like to be able to write this:

for k in 0L..15L {
    ...
}

Currently this causes a compile error:

error QS0001: The type Int does not match the type BigInt

It should instead be equivalent to:

for k_helper in 0..15 {
    let k = IntAsBigInt(k_helper);
    ...
}

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