Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples' output #3620

Merged
merged 1 commit into from Sep 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/Type/Code.pod6
Expand Up @@ -175,7 +175,7 @@ Defined as:

Returns the name of the file in which the code object was declared.

say &infix:<+>.file;
say &infix:<+>.file; # OUTPUT: «SETTING::src/core.c/Numeric.pm6␤»

=head2 method line

Expand All @@ -186,7 +186,7 @@ Defined as
Returns the line number in the source code at which the code object's
declaration begins.

say &infix:<+>.line;
say &infix:<+>.line; # OUTPUT: «208␤»

If the code object was generated automatically (and thus I<not>
declared in the source code), then C<line> returns the line on which
Expand Down