You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ftplugin/perl6.vim executes a shell command when it's invoked without checking v:shell_error:
if &shellxquote != '"'
let perlpath = system('perl6 -e "@*INC.join(q/,/).say"')
else
let perlpath = system("perl6 -e '@*INC.join(q/,/).say'")
endif
Whatever this was originally for, it's not valid code in current versions of rakudo:
$ perl6 -e '@*INC.join(q/,/).say'
Dynamic variable @*INC not found
in block at -e line 1
...and this error text ends up in the value of :set path. I'm not sure what the original intent of this code was, but the thought that it's been executing random commands every time I open the editor on a perl6 file is a bit scary.
The text was updated successfully, but these errors were encountered:
I saw that when looking through the files initially and I have no idea what that is doing. I need to look at it more carefully and consider what should be done about.
Migration of vim-perl#19 by @ghost
Description of issue
ftplugin/perl6.vim executes a shell command when it's invoked without checking v:shell_error:
Whatever this was originally for, it's not valid code in current versions of rakudo:
$ perl6 -e '@*INC.join(q/,/).say'
Dynamic variable @*INC not found
in block at -e line 1
...and this error text ends up in the value of :set path. I'm not sure what the original intent of this code was, but the thought that it's been executing random commands every time I open the editor on a perl6 file is a bit scary.
The text was updated successfully, but these errors were encountered: