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

Failure to create a ComplexStr allomorph for 1+i #5382

Open
p6rt opened this issue Jun 16, 2016 · 2 comments
Open

Failure to create a ComplexStr allomorph for 1+i #5382

p6rt opened this issue Jun 16, 2016 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 16, 2016

Migrated from rt.perl.org#128416 (status was 'new')

Searchable as RT128416$

@p6rt
Copy link
Author

p6rt commented Jun 16, 2016

From @zoffixznet

Since 1+i creates a Complex when used bare, it should also result in a Complex/ComplexStr when used inside < >

m​: .WHAT.say for 1+i, <1+i>, <1+1i>
camelia​: rakudo-moar c7cd00​: OUTPUT«(Complex)␤(Str)␤(Complex)␤»

.WHAT.say for <1+i 1+1i>
(Str)
(ComplexStr)

@p6rt
Copy link
Author

p6rt commented Jun 17, 2016

From @zoffixznet

Another discrepancy​:

.WHAT.say for <+i>, <-i>, +i, -i;
# (Str)
# (Str)
# (Complex)
# (Complex)

@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