Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not possible to set the is default trait on shaped arrays #5781

Open
p6rt opened this issue Nov 5, 2016 · 3 comments
Open

not possible to set the is default trait on shaped arrays #5781

p6rt opened this issue Nov 5, 2016 · 3 comments
Labels
Bug NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Nov 5, 2016

Migrated from rt.perl.org#130024 (status was 'open')

Searchable as RT130024$

@p6rt
Copy link
Author

p6rt commented Nov 5, 2016

From @dogbert17

# The system

dogbert@​dogbert-VirtualBox ~ $ perl6 -v
This is Rakudo version 2016.10-176-gaa97f86 built on MoarVM version 2016.10-37-gf769569
implementing Perl 6.c.

# the problem

dogbert@​dogbert-VirtualBox ~ $ perl6 -e 'my @​mat[2;2] is default(0)'
===SORRY!=== Error while compiling -e
is default on shaped Array not yet implemented. Sorry.
at -e​:1
------> my @​mat[2;2] is default(0)⏏<EOL>
  expecting any of​:
  constraint

Perhaps this was omitted in the great 2015 Christmas release rush?

/Dogbert17

@p6rt
Copy link
Author

p6rt commented Nov 6, 2016

From @lizmat

It’s on my radar, but wasn’t as easily fixable as I initially thought :-(

On 05 Nov 2016, at 13​:26, Jan-Olof Hendig (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Jan-Olof Hendig
# Please include the string​: [perl #​130024]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130024 >

# The system

dogbert@​dogbert-VirtualBox ~ $ perl6 -v
This is Rakudo version 2016.10-176-gaa97f86 built on MoarVM version 2016.10-37-gf769569
implementing Perl 6.c.

# the problem

dogbert@​dogbert-VirtualBox ~ $ perl6 -e 'my @​mat[2;2] is default(0)'
===SORRY!=== Error while compiling -e
is default on shaped Array not yet implemented. Sorry.
at -e​:1
------> my @​mat[2;2] is default(0)⏏<EOL>
expecting any of​:
constraint

Perhaps this was omitted in the great 2015 Christmas release rush?

/Dogbert17

@p6rt
Copy link
Author

p6rt commented Nov 6, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added Bug NYI Features not yet implemented labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug NYI Features not yet implemented
Projects
None yet
Development

No branches or pull requests

1 participant