Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
X::TypeCheck.gotn returns too short messages for displaying types in NativeCall #5931
See the following results:
$ perl6 -Ilib t/01-basic.t
$ 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
On Tue, 17 Jan 2017 06:08:04 -0800, firstname.lastname@example.org 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.
On Tue, 17 Jan 2017 08:08:34 -0800, email@example.com 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.