Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix "This type does not support elems" on my @A; say |@A;
  • Loading branch information
niner committed Aug 28, 2015
1 parent 2178f78 commit 441d54d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/List.pm
Expand Up @@ -589,6 +589,7 @@ my class List does Iterable does Positional { # declared in BOOTSTRAP
$cap
}
method FLATTENABLE_LIST() {
self!ensure-allocated;
$!todo.reify-all() if $!todo.DEFINITE;
$!reified
}
Expand Down

4 comments on commit 441d54d

@ab5tract
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this method a candidate for kebab casing? :)

@niner
Copy link
Collaborator Author

@niner niner commented on 441d54d Aug 28, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an internal method that's called by the compiler. I guess there's better ways to spend time.

@FROGGS
Copy link
Member

@FROGGS FROGGS commented on 441d54d Aug 28, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not meant to be public me thinks. So, no.

@ab5tract
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most definitely better ways, sorry to bother

Please sign in to comment.