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

Error message talks about null strings when trying to create a num32 Blob (Blob[num32].new(2e0)) #6604

Closed
p6rt opened this issue Oct 13, 2017 · 6 comments
Labels
regression Issue did not exist previously testneeded

Comments

@p6rt
Copy link

p6rt commented Oct 13, 2017

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

Searchable as RT132285$

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

From @AlexDaniel

Code​:
Blob[num32].new(2e0) # huh?

¦«2015.12»​:
This type cannot unbox to a native integer
  in any at gen/moar/m-Metamodel.nqp line 1718
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15265198/snippet line 1
«exit code = 1»

¦«2016.06»​:
Could not instantiate role 'Blob'​:
Blobs with native num32 not yet implemented. Sorry.
  in any at gen/moar/m-Metamodel.nqp line 2437
  in any specialize at gen/moar/m-Metamodel.nqp line 2424
  in any specialize at gen/moar/m-Metamodel.nqp line 2634
  in any specialize at gen/moar/m-Metamodel.nqp line 2212
  in any compose at gen/moar/m-Metamodel.nqp line 2993
  in any make_pun at gen/moar/m-Metamodel.nqp line 1701
  in any find_method at gen/moar/m-Metamodel.nqp line 1729
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15265198/snippet line 1
«exit code = 1»

¦«2016.12»​:
Could not instantiate role 'Blob'​:
Blobs with native num32 not yet implemented. Sorry.
  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 /home/bisectable/git/whateverable/data/regressionable/15265198/snippet line 1
«exit code = 1»

¦«2017.06»​:
Could not instantiate role 'Blob'​:
Blobs with native num32 not yet implemented. Sorry.
  in any protect at gen/moar/stage2/NQPCORE.setting line 1029
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15265198/snippet line 1
«exit code = 1»

¦«f72be0f130cf»​:
concatenate requires a concrete string, but got null
  in any protect at gen/moar/stage2/NQPCORE.setting line 1039
  in block <unit> at /home/bisectable/git/whateverable/data/regressionable/15265198/snippet line 1
«exit code = 1»

Possible IRC discussion​: https://irclog.perlgeek.de/perl6-dev/2017-10-06#i_15265198
Bisectable​: (2017-07-08) rakudo/rakudo@1a4d949

I think that the previous message is right​:

Could not instantiate role 'Blob'​:
Blobs with native num32 not yet implemented. Sorry.

And this message is wrong (or LTA if you wish)​:

concatenate requires a concrete string, but got null

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

From @zoffixznet

MasterDuke++ fixed in rakudo/rakudo@f4f3691

testneeded

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

From @MasterDuke17

Fixed in rakudo/rakudo#1189

Not sure where tests should go, roast or rakudo?

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

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

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

From @zoffixznet

Tests in rakudo/rakudo@e475ae8

@p6rt
Copy link
Author

p6rt commented Oct 13, 2017

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

@p6rt p6rt closed this as completed Oct 13, 2017
@p6rt p6rt added 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
regression Issue did not exist previously testneeded
Projects
None yet
Development

No branches or pull requests

1 participant