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

Assigning to a Buf slice fails #3643

Closed
p6rt opened this issue Jan 13, 2015 · 6 comments
Closed

Assigning to a Buf slice fails #3643

p6rt opened this issue Jan 13, 2015 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 13, 2015

Migrated from rt.perl.org#123594 (status was 'resolved')

Searchable as RT123594$

@p6rt
Copy link
Author

p6rt commented Jan 13, 2015

From @raydiak

# perl6 -e 'my $b = Buf.new(0, 0); $b[0, 1] = 2, 3;'
Cannot modify an immutable Int
  in method STORE at src/gen/m-CORE.setting​:7969
  in sub postcircumfix​:<[ ]> at src/gen/m-CORE.setting​:2794
  in block <unit> at -e​:1

# perl6 -v
This is perl6 version 2014.12-97-g2520958 built on MoarVM version 2014.12

# uname -a
Linux 3.16.0-28-generic #​38-Ubuntu SMP Sat Dec 13 16​:13​:28 UTC 2014 x86_64 GNU/Linux

@p6rt
Copy link
Author

p6rt commented Jan 13, 2015

From @raydiak

Test added (and fudged) in S09-subscript/slice.t (tried e-mailing this update but it doesn't seem to have worked; apologies if a duplicate comes through)

@p6rt
Copy link
Author

p6rt commented Jan 13, 2015

From @raydiak

Test added in S09-subscript/slice.t

On Mon, Jan 12, 2015 at 06​:59​:09PM -0800, perl6 via RT wrote​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"[BUG] Assigning to a Buf slice fails",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [perl #​123594].

Please include the string​:

     \[perl #&#8203;123594\]

in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

-------------------------------------------------------------------------
# perl6 -e 'my $b = Buf.new(0, 0); $b[0, 1] = 2, 3;'
Cannot modify an immutable Int
in method STORE at src/gen/m-CORE.setting​:7969
in sub postcircumfix​:<[ ]> at src/gen/m-CORE.setting​:2794
in block <unit> at -e​:1

# perl6 -v
This is perl6 version 2014.12-97-g2520958 built on MoarVM version 2014.12

# uname -a
Linux 3.16.0-28-generic #​38-Ubuntu SMP Sat Dec 13 16​:13​:28 UTC 2014 x86_64 GNU/Linux

@p6rt
Copy link
Author

p6rt commented Mar 1, 2015

From @jnthn

On Mon Jan 12 23​:30​:20 2015, raydiak@​cyberuniverses.com wrote​:

Test added in S09-subscript/slice.t

The native-ref work fixed this, and the test is now unfudged and passing.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Mar 1, 2015

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

@p6rt
Copy link
Author

p6rt commented Mar 1, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 1, 2015
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant