Skip to content

Defining an alias of slice of type doesn't work. #1637

@NexushasTaken

Description

@NexushasTaken
struct Foo { int i; }
fn void Foo[].method(Foo[] slice) { }
def foo_arr_is_empty = Foo[].method; // Error: 'Foo[]' does not have a property 'method'.

Metadata

Metadata

Assignees

Labels

Fixed needs testingNeeds verification / testing that it now works

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions