Skip to content

Commit

Permalink
Merge pull request #1746 from perl6/post-release
Browse files Browse the repository at this point in the history
Post release
  • Loading branch information
zoffixznet committed Jan 25, 2018
2 parents 890bfa1 + 5541be5 commit e0c5903
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
18 changes: 17 additions & 1 deletion doc/Language/pragmas.pod6
Expand Up @@ -136,7 +136,23 @@ for certain sections of code.
=item X<B<variables>|variables>
L<Defined Variables Pragma|/language/variables#Default_Defined_Variables_Pragma>
=item X<B<worries>|worries> [TBD]
=item X<B<worries>|worries>
Lexically controls whether compile-time warnings generated by the
compiler get shown. Enabled by default.
=begin code :lang<text>
$ perl6 -e 'say :foo<>.Pair'
Potential difficulties:
Pair with <> really means an empty list, not null string; use :foo('') to represent the null string,
or :foo() to represent the empty list more accurately
at -e:1
------> say :foo<>⏏.Pair
foo => Nil
$ perl6 -e 'no worries; say :foo<>.Pair'
foo => Nil
=end
=item Other pragma under discussion
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/IO/Spec/Cygwin.pod6
Expand Up @@ -26,7 +26,7 @@ Defined as:
method abs2rel(IO::Path:D $path, IO::Path:D $base = $*CWD --> Str:D)
Returns a string that represents C<$path>, but relative to C<$base> path.
Both C<$path> and C<$base> may be relative paths C<$bar> defaults to C<$*CWD>.
Both C<$path> and C<$base> may be relative paths. C<$base> defaults to C<$*CWD>.
Uses L«C<IO::Spec::Win32>|/type/IO::Spec::Win32»'s semantics.
=head2 method canonpath
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/IO/Spec/Unix.pod6
Expand Up @@ -26,7 +26,7 @@ Defined as:
method abs2rel(IO::Path:D $path, IO::Path:D $base = $*CWD --> Str:D)
Returns a string that represents C<$path>, but relative to C<$base> path.
Both C<$path> and C<$base> may be relative paths C<$bar> defaults to C<$*CWD>
Both C<$path> and C<$base> may be relative paths. C<$base> defaults to C<$*CWD>
=head2 method basename
Expand Down

0 comments on commit e0c5903

Please sign in to comment.