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

internal backtrace is spewed when trying to assign to a Blob type object (Blob[2] = 100) #6017

Open
p6rt opened this issue Jan 20, 2017 · 3 comments
Labels
LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously testneeded

Comments

@p6rt
Copy link

p6rt commented Jan 20, 2017

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

Searchable as RT130599$

@p6rt
Copy link
Author

p6rt commented Jan 20, 2017

From @AlexDaniel

Code​:
Blob[2] = 100

Result (2015.12,2016.02)​:
Cannot modify an immutable Blob[Int]
  in block <unit> at /tmp/ru89jxuA2R line 1

Result (HEAD)​:
Could not instantiate role 'Blob'​:
No such method 'nativesize' for invocant of type 'Perl6​::Metamodel​::ClassHOW'
  in any at gen/moar/Metamodel.nqp line 2441
  in any protect at gen/moar/stage2/NQPCORE.setting line 802
  in any specialize at gen/moar/Metamodel.nqp line 2428
  in any specialize at gen/moar/Metamodel.nqp line 2644
  in any specialize at gen/moar/Metamodel.nqp line 2211
  in any compose at gen/moar/Metamodel.nqp line 3010
  in any make_pun at gen/moar/Metamodel.nqp line 1692
  in any find_method at gen/moar/Metamodel.nqp line 1720
in block <unit> at /tmp/ru89jxuA2R line 1

Actually, “Could not instantiate role 'Blob'” is arguably more correct, but the way it complains about “nativesize” is very LTA.

Bisectable points to rakudo/rakudo@1e33bc5

@p6rt
Copy link
Author

p6rt commented Jan 20, 2017

From @lizmat

Fixed with rakudo/rakudo@66b2fc2c3c , tests needed

On 20 Jan 2017, at 07​:37, Aleks-Daniel Jakimenko-Aleksejev (via RT) <perl6-bugs-followup@​perl.org> wrote​:

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

Code​:
Blob[2] = 100

Result (2015.12,2016.02)​:
Cannot modify an immutable Blob[Int]
in block <unit> at /tmp/ru89jxuA2R line 1

Result (HEAD)​:
Could not instantiate role 'Blob'​:
No such method 'nativesize' for invocant of type 'Perl6​::Metamodel​::ClassHOW'
in any at gen/moar/Metamodel.nqp line 2441
in any protect at gen/moar/stage2/NQPCORE.setting line 802
in any specialize at gen/moar/Metamodel.nqp line 2428
in any specialize at gen/moar/Metamodel.nqp line 2644
in any specialize at gen/moar/Metamodel.nqp line 2211
in any compose at gen/moar/Metamodel.nqp line 3010
in any make_pun at gen/moar/Metamodel.nqp line 1692
in any find_method at gen/moar/Metamodel.nqp line 1720
in block <unit> at /tmp/ru89jxuA2R line 1

Actually, “Could not instantiate role 'Blob'” is arguably more correct, but the way it complains about “nativesize” is very LTA.

Bisectable points to rakudo/rakudo@1e33bc5

@p6rt
Copy link
Author

p6rt commented Jan 20, 2017

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

@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously testneeded labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously testneeded
Projects
None yet
Development

No branches or pull requests

1 participant