Skip to content

Commit

Permalink
Make open("-") non-special in 6.d
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 29, 2017
1 parent 03b1feb commit 76359ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/IO/Handle.pm
Expand Up @@ -116,7 +116,8 @@ my class IO::Handle {
);

nqp::if(
nqp::iseq_s($!path.Str, '-'),
nqp::iseq_s($!path.Str, '-')
&& nqp::iseq_s('6.c', nqp::getcomp('perl6').language_version),
nqp::if(
nqp::iseq_s($mode, 'ro'),
nqp::if(
Expand Down

0 comments on commit 76359ab

Please sign in to comment.