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
changed type of variable #6311
Comments
From @MARTIMMHi, In Rakudo version 2017.05-338-gaca1929 built on MoarVM version
The type IntStr should be coerced into Str. A second example happened in
The type should stay as it was defined I think. |
From @AlexDanielWell, say IntStr ~~ Str # True In other words, IntStr *is* a Str. What I find interesting, however, is this difference: sub s (Str() :$str) {say $str.WHAT}; s(:str<1>) # IntStr I would have expected the same output in both cases. On 2017-06-03 02:05:49, mt1957@gmail.com wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @MARTIMMOn 06/03/2017 11:36 AM, Aleks-Daniel Jakimenko-Aleksejev via RT wrote:
|
From @MARTIMMOn 06/03/2017 11:36 AM, Aleks-Daniel Jakimenko-Aleksejev via RT wrote:
I think the last one is coerced explicitly. Btw I didn't know about The previous mail about the type test 'say Str ~~ IntStr' I meant that Marcel |
From @MARTIMMAfter some discussion I've understood that I have to do some homework Regards, |
From @zoffixznetOn Sat, 03 Jun 2017 07:52:09 -0700, mt1957@gmail.com wrote:
OK. Closing. On Sat, 03 Jun 2017 02:36:12 -0700, alex.jakimenko@gmail.com wrote:
It's a bit involved. I opened a separate @LARRY ticket: |
@zoffixznet - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#131493 (status was 'rejected')
Searchable as RT131493$
The text was updated successfully, but these errors were encountered: