[perl #125674] [LTA] error message prints wrong eject position (if True if { };)

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This one is a bit harder than it seems. So here is what throws: https://github.com/rakudo/rakudo/blob/f62ae60c48d1372df18b49aca44e10af44ead2d6/src/Perl6/Grammar.nqp#L315 However, the cursor has wrong position for some reason. Looking at the lines above, it may seem that doing this: self.'!cursor

[perl #131814] quote bug in shell command on windows

2017-10-06 Thread steve mynott via RT
There does seem to be a quoting bug in Windows shell but none of the above examples show it. See #132183: Insufficient debug messages from zef/perl6.bat when package build fails I propose this ticket be closed.

[perl #131814] quote bug in shell command on windows

2017-10-06 Thread steve mynott via RT
I don't think this is a bug in the shell command on windows since cmd.exe behaves differently to Bourne type shells. UNIX $ echo "foo" foo Windows C:\Windows\system32>echo "foo" "foo"

[perl #125247] [LTA] Error message for unclosed multiline comments points to last line of the file

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
FWIW for those wondering how exactly it was resolved, here's the commit: https://github.com/rakudo/rakudo/commit/382c78a97ae6132d0054e0112cf19ceb2d50fef6 On 2016-12-10 10:10:48, c...@zoffix.com wrote: > Tests now exist: > https://github.com/perl6/roast/commit/da6fde44ab97cdcbb50bf181528f5567191461

[perl #125641] [LTA] error messages when right bracket is missing: $<> , <>, () and so on

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
See this pull request: https://github.com/rakudo/rakudo/pull/1183 Unfortunately not all of the things are covered. For example: perl6 -e 'my $x = q:to/foo/; blah ' ===SORRY!=== Error while compiling -e Ending delimiter foo not found at -e:3 --> ⏏ expecting any of: whitespace Then there's als

[perl #127279] [BUG] Infinite loop with |"a".."z"

2017-10-06 Thread Brian S. Julin via RT
On Fri, 15 Jan 2016 10:24:16 -0800, c...@zoffix.com wrote: > The slip (|) before a range has higher precedence and it interprets > the starting point of the range as a single-item list. This leads to > two types of bugs, and both situations should likely be error > messages: > > 1) Infinite loop w

[perl #125596] [LTA] error message with if; and unless; without conditions

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
3 debug at SETTING::src/core/Exception.pm:57 (./CORE.setting.moarvm:throw) from src/Perl6/World.nqp:4660 (blib/Perl6/World.moarvm:throw) from src/Perl6/Grammar.nqp:272 (blib/Perl6/Grammar.moarvm:typed_panic) from src/Perl6/Grammar.nqp:262 (blib/Perl6/Grammar.moarvm:panic) from src/Perl

[perl #125596] [LTA] error message with if; and unless; without conditions

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
1 debug at SETTING::src/core/Exception.pm:57 (./CORE.setting.moarvm:throw) from src/Perl6/World.nqp:4660 (blib/Perl6/World.moarvm:throw) from src/Perl6/Grammar.nqp:272 (blib/Perl6/Grammar.moarvm:typed_panic) from src/Perl6/Grammar.nqp:262 (blib/Perl6/Grammar.moarvm:panic) from src/Perl

[perl #125596] [LTA] error message with if; and unless; without conditions

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
OK, RT refuses to display it, so let's try again. Previous message: Oof. I'm wondering why is it a .sorry and not .panic. Panic will blow up immediately with a good error message, but I think there's some reason for it to be a sorry. I can't figure out what it is exactly. Maybe something about su

[perl #125596] [LTA] error message with if; and unless; without conditions

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Oof. I'm wondering why is it a .sorry and not .panic. Panic will blow up immediately with a good error message, but I think there's some reason for it to be a sorry. I can't figure out what it is exactly. Maybe something about subs called “if”? I tried various ways to trigger it erroneously but cou

Re: <<>> question

2017-10-06 Thread ToddAndMargo
On 10/05/2017 09:44 AM, Andy Bach wrote: > is    <<>> > synonymous with    qw[] ? IIUC - close, it like qqw: https://docs.perl6.org/language/quoting#index-entry-quote_qqww-quote_<<_>>-quote_«_»-Word_quoting_with_interpolation_and_quote_protection:_qqww It's actually synonymous w/ qqww but d

Re: <<>> question

2017-10-06 Thread ToddAndMargo
On 10/05/2017 02:50 PM, Brad Gilbert wrote: On Thu, Oct 5, 2017 at 11:44 AM, Andy Bach wrote: is <<>> synonymous with qw[] ? `<<>>` is the same as `qqww<<>>` Which is short for `Q :qq :ww <<>>` the `:qq` is short for `:double`, that is it turns on double quote behaviour `:double

Re: mtp???

2017-10-06 Thread ToddAndMargo
On 10/06/2017 03:22 PM, Brandon Allbery wrote: On Fri, Oct 6, 2017 at 6:13 PM, ToddAndMargo > wrote: The weird part is that Thunar sees and operates the thing perfectly! Thunar has a lot fewer moving parts and uses libmtp directly. Krusader likely relies on a

Re: mtp???

2017-10-06 Thread ToddAndMargo
On 10/06/2017 02:53 PM, ToddAndMargo wrote: Dear List, Krusader 2.5.0 Thunar 1.6.11 Scientific Linux 7.4 Lenovo Tab 2 A10-70 http://people.redhat.com/bnocera/libmtp-rhel-7.5/libmtp-1.1.13-1.el7.x86_64.rpm reference bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1356288 Krusader w

Re: mtp???

2017-10-06 Thread Brandon Allbery
On Fri, Oct 6, 2017 at 6:13 PM, ToddAndMargo wrote: > The weird part is that Thunar sees and operates the thing perfectly! > Thunar has a lot fewer moving parts and uses libmtp directly. Krusader likely relies on a lot of extra KDE IPC goop implementing a virtual filesystem layer sitting between

Re: mtp???

2017-10-06 Thread ToddAndMargo
On 10/06/2017 03:06 PM, Brandon Allbery wrote: On Fri, Oct 6, 2017 at 5:53 PM, ToddAndMargo > wrote: I would like to write a backup program to backup up my wife's files. Question: how do I access mtp://[usb:002,010] from both the command line and fr

Re: mtp???

2017-10-06 Thread Brandon Allbery
On Fri, Oct 6, 2017 at 5:53 PM, ToddAndMargo wrote: > I would like to write a backup program to backup up > my wife's files. > > Question: how do I access mtp://[usb:002,010] from > both the command line and from Perl 6? > No MTP support module for Perl 6 as yet. There's a suite of command line

[perl #125500] [SEGV] double free or corruption, invalid pointer

2017-10-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I'll close this ticket. I'm failing to reproduce the issue on 2015-ish versions of rakudo, let alone HEAD. I think the actual problem was resolved and hopefully there are tests for it, but trying to find what exactly fixed it is a total waste of time unfortunately. Even with all powers of whatevera

mtp???

2017-10-06 Thread ToddAndMargo
Dear List, Krusader 2.5.0 Thunar 1.6.11 Scientific Linux 7.4 Lenovo Tab 2 A10-70 http://people.redhat.com/bnocera/libmtp-rhel-7.5/libmtp-1.1.13-1.el7.x86_64.rpm reference bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1356288 Krusader will not recognize my wife's tablet. But Thunar

[perl #130906] [TESTNEEDED] [REGRESSION] Reducing a Seq with `=>` fails with "P6opaque: no such attribute '$!reified' in type List"

2017-10-06 Thread Sam S. via RT
Tests committed: https://github.com/perl6/roast/commit/9ea27ad2e Closing.

[perl #130117] [TESTNEEDED] [REGEX] Sequential alternation `||` does not respect `:ratchet`

2017-10-06 Thread Sam S. via RT
Tests were added here: https://github.com/perl6/roast/commit/65a762217

[perl #131973] [TESTNEEDED] [REGEX] Backtracking modifiers on individual atoms fail to override a regex-global `:ratchet` modifier.

2017-10-06 Thread Sam S. via RT
Tests were added here: https://github.com/perl6/roast/commit/65a762217

[perl #126951] [TESTNEEDED] Interpolating a typed hash into an argument list produces wrong keys

2017-10-06 Thread Sam S. via RT
Test added: https://github.com/perl6/roast/commit/8773139c37 Closing.

[perl #132233] [UNI] ignorecase doesn't use foldcase semantics when the haystack is interpolated

2017-10-06 Thread via RT
# New Ticket Created by Samantha McVey # Please include the string: [perl #132233] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132233 > my $fi   = 'fi'; my $fi_d = 'fi'; #?rakudo.moar 2 todo "ignorecase doesn't use foldcase

[perl #132232] [UNI] ignorecase returns too many graphemes for expanding foldcase graphemes

2017-10-06 Thread via RT
# New Ticket Created by Samantha McVey # Please include the string: [perl #132232] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132232 > `is '_fi_' ~~ /:i fi /, "fi", "ignorecase with ligature needle matches only ligature need

[perl #131936] [TESTNEEDED] [REGRESSION] [REGEX] Match.made leaks a `NQPMu`

2017-10-06 Thread Sam S. via RT
Test were added by Zoffix a month ago: https://github.com/perl6/roast/commit/8674f1e8c Closing.

[perl #126757] [LTA] error message talks about ~ but there is no ~ in my code (33..126 .pick.chr)

2017-10-06 Thread Sam S. via RT
On Wed, 04 Oct 2017 22:10:22 -0700, alex.jakime...@gmail.com wrote: > To produce an error message that is more precise we'll need more > information > than just a line number, but we don't have that during the run time. Couldn't the confusing wording be fixed without additional information? As I

[perl #131814] quote bug in shell command on windows

2017-10-06 Thread Zoffix Znet via RT
On Fri, 06 Oct 2017 09:49:54 -0700, steve.mynott+bitc...@gmail.com wrote: > I propose this ticket be closed. No, there's definitely some bug exists. On 2017.07 Star, I get this (\x[22] is the double-quote char): C:\Users\zoffix>perl6 -e "say qqx/echo \x[22]foo\x[22]/;" \"foo\" While the

[perl #131814] quote bug in shell command on windows

2017-10-06 Thread Zoffix Znet via RT
On Fri, 06 Oct 2017 09:49:54 -0700, steve.mynott+bitc...@gmail.com wrote: > I propose this ticket be closed. No, there's definitely some bug exists. On 2017.07 Star, I get this (\x[22] is the double-quote char): C:\Users\zoffix>perl6 -e "say qqx/echo \x[22]foo\x[22]/;" \"foo\" While the

[perl #132228] [SEGV] nqp::push to a typeobject of a class with repr("VMArray")

2017-10-06 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #132228] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132228 > IRC: https://irclog.perlgeek.de/perl6-dev/2017-10-06#i_15265279 10:40 Zoffix m: use nq