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
X::TypeCheck.gotn returns too short messages for displaying types in NativeCall #5931
Comments
From @titsukiSee the following results: $ perl6 -Ilib t/01-basic.t X::TypeCheck.gotn: https://github.com/rakudo/rakudo/blob/nom/src/core/Exception.pm#L1972-L1979 $ perl6 -e '"NativeCall::Types::CA".chars.say' I think that that limitation of the number of characters (i.e. 21) is too short for displaying types in NativeCall. $ perl6 --version |
From @zoffixznetCan you please include code that actually reproduces the problem? |
The RT System itself - Status changed from 'new' to 'open' |
From @titsukiOn Tue, 17 Jan 2017 06:08:04 -0800, cpan@zoffix.com wrote:
I'm very sorry. I can't remember exactly how to generate this error, I just remember is that I assigned a CArray[num64] object to a CArray[num64] variable. |
From @zoffixznetOn Tue, 17 Jan 2017 08:08:34 -0800, cookbook_000@yahoo.co.jp wrote:
Well, that's very unfortunate, as that means I have no way to reproduce the issue you're reporting. You point at a line of core code, but it's not causing any issues in all of the type check errors I've managed to reproduce (and people on IRC whom I asked this question twice managed to reproduce). I don't want to twiddle random length limits, when the correct solution is to not cut off any names when they're significant. |
From @zoffixznetAnd it seems the reason this circumstance gets triggered is due to a bug: https://irclog.perlgeek.de/perl6/2017-01-21#i_13966550 |
Migrated from rt.perl.org#130434 (status was 'open')
Searchable as RT130434$
The text was updated successfully, but these errors were encountered: