Skip to content

Support allocatable arrays #1785

@certik

Description

@certik

So that inside a function we can create an array of size n, where n is a local variable (not a function parameter):

n: i32 = 5
A: Allocatable[f64[:]] = empty(n, ...)

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