-
-
Save dagurval/3e5e75d6db2e9f6d3b13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dagurval@playmobil:~/dev/rakudo/src/core$ git diff | |
diff --git a/src/core/IO.pm b/src/core/IO.pm | |
index e49fc9b..bc93c88 100644 | |
--- a/src/core/IO.pm | |
+++ b/src/core/IO.pm | |
@@ -249,7 +249,8 @@ my class IO::Path is Cool does IO::FileTestable { | |
has Str $.volume = ''; | |
method dir() { | |
- die "IO::Path.dir is deprecated in favor of .directory"; | |
+ die "Test!"; | |
+#die "IO::Path.dir is deprecated in favor of .directory"; | |
} | |
submethod BUILD(:$!basename, :$!directory, :$!volume, :$dir) { | |
die "Named paramter :dir in IO::Path.new deprecated in favor of :directory" | |
dagurval@playmobil:~/dev/rakudo/src/core$ RAKUDO_MODULE_DEBUG=1 PERL6LIB=`pwd` perl6 -MIO -e "IO::Path.new(\"/tmp\").dir" | |
MODULE_DEBUG: loading /home/dagurval/dev/rakudo/install/lib/parrot/5.2.0-devel/languages/nqp/lib/Perl6/BOOTSTRAP.pbc | |
MODULE_DEBUG: done loading /home/dagurval/dev/rakudo/install/lib/parrot/5.2.0-devel/languages/nqp/lib/Perl6/BOOTSTRAP.pbc | |
MODULE_DEBUG: loading /home/dagurval/dev/rakudo/src/core/IO.pm | |
MODULE_DEBUG: done loading /home/dagurval/dev/rakudo/src/core/IO.pm | |
IO::Path.dir is deprecated in favor of .directory | |
in method dir at src/gen/CORE.setting:11161 | |
in block at -e:1 | |
dagurval@playmobil:~/dev/rakudo/src/core$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment