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

Blob eqv Blob fails with "Invocant requires an instance of type Blob" #5158

Closed
p6rt opened this issue Mar 2, 2016 · 4 comments
Closed

Blob eqv Blob fails with "Invocant requires an instance of type Blob" #5158

p6rt opened this issue Mar 2, 2016 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 2, 2016

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

Searchable as RT127642$

@p6rt
Copy link
Author

p6rt commented Mar 2, 2016

From simon@ruderich.org

Hello,

the following code

  Blob eqv Blob

Fails with an error message​:

  Invocant requires an instance of type Blob, but a type object was passed. Did you forget a .new?␤ in any at gen/moar/m-Metamodel.nqp line 1723␤ in sub is-deeply at /home/camelia/rakudo-m-inst-1/share/perl6/sources/C712FE6969F786C9380D643DF17E85D068…

I discovered this while writing tests which fails with the same
error​:

  use Test;
  is-deeply {a => Blob}, {a => Blob};

Regards
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id​: 0x92FEFDB7E44C32F9

@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

From @moritz

Hi,

On Wed Mar 02 07​:50​:11 2016, simon@​ruderich.org wrote​:

Hello,

the following code

Blob eqv Blob

Fails with an error message​:

Invocant requires an instance of type Blob, but a type object was
passed. Did you forget a .new?␤ in any at gen/moar/m-Metamodel.nqp
line 1723␤ in sub is-deeply at /home/camelia/rakudo-m-inst-
1/share/perl6/sources/C712FE6969F786C9380D643DF17E85D068…

Fixed here​: rakudo/rakudo@3a050fb7ec

And tested here​: Raku/roast@524d930d8a

Thanks,
Moritz

@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

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

@p6rt p6rt closed this as completed Mar 12, 2016
@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

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

@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