Skip to content

Instantly share code, notes, and snippets.

@coke
Last active June 22, 2017 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coke/33bb055169e654b275b880784d93cb00 to your computer and use it in GitHub Desktop.
Save coke/33bb055169e654b275b880784d93cb00 to your computer and use it in GitHub Desktop.
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_292:
Useless use of constant value Int:U in sink context (line 3)
Useless use of constant value Int:D in sink context (line 2)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_294:
Useless use of constant integer 0 in sink context (line 5)
Potential difficulties:
Redeclaration of symbol '@evens'
at $HOME/sandbox/perl6-doc/EVAL_304:9
------> my @evens⏏ = gather for 0..100 { take $_ if $_ %% 
Potential difficulties:
Redeclaration of symbol '@evens'
at $HOME/sandbox/perl6-doc/EVAL_305:4
------> my @evens⏏ = grep { $_ %% 2 }, 0..100;
Redeclaration of symbol '@evens'
at $HOME/sandbox/perl6-doc/EVAL_305:7
------> my @evens⏏ = grep * %% 2, 0..100;
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_355:
Useless use of constant integer 1 in sink context (lines 3, 5)
Useless use of constant integer 2 in sink context (line 3)
Potential difficulties:
Redeclaration of symbol '$a'
at $HOME/sandbox/perl6-doc/EVAL_359:4
------> say so (42,42) eqv (my $a⏏ = 42; $a;);
Potential difficulties:
Redeclaration of symbol '@a'
at $HOME/sandbox/perl6-doc/EVAL_378:5
------> my @a⏏ = 1, 2, :c(3); Array.new: @a;
Redeclaration of symbol '@a'
at $HOME/sandbox/perl6-doc/EVAL_378:6
------> my @a⏏ = 1, 2, :c(3); new Array: @a;
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_383:
Useless use of "eqv" in expression "[ 1, 2, :c(3) ] eqv Array.new((1, 2, :c(3)))" in sink context (line 2)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_442:
Useless use of constant value [ ] in sink context (lines 3, 3)
Potential difficulties:
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_630:10
------> my @result⏏ = (
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_630:18
------> my @result⏏ =
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_630:25
------> my @result⏏ =
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_630:34
------> my @result⏏ =
Potential difficulties:
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_631:10
------> my @result⏏ = (
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_631:19
------> my @result⏏<EOL>
Redeclaration of symbol '@result'
at $HOME/sandbox/perl6-doc/EVAL_631:26
------> my @result⏏<EOL>
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_637:
Useless use of constant string "No $interpolation {here}!" in sink context (line 8)
Useless use of constant string "There are no backslashes here, only lots of $$$>!" in sink context (line 6)
Useless use of constant string "This is not a closing curly brace → }, but this is → " in sink context (line 5)
Useless use of constant string "Very plain" in sink context (line 2)
Useless use of constant string "(Just kidding. There's no money in that string)" in sink context (line 7)
Useless use of constant string "This back\\slash stays" in sink context (lines 3, 4)
Potential difficulties:
Redeclaration of symbol '$s'
at $HOME/sandbox/perl6-doc/EVAL_640:5
------> my $s⏏ = "I really \x[2661,2665,2764,1f495] Pe
Potential difficulties:
Redeclaration of symbol '$a'
at $HOME/sandbox/perl6-doc/EVAL_655:3
------> my $a⏏ = 42; say «"$a b" c».perl; # OUTPUT
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_690:2
------>  class :: {my token A { f⏏ o **? 1^..8 };
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_703:2
------>  class :: {/ a || b⏏ c /; # matches 'a' or 'bc'
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_704:2
------>  class :: {/ a⏏ b+ /; # matches an 'a' follo
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_704:3
------> / (a⏏ b)+ /; # matches one or more s
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_737:3
------> my $rx4 = rx/:i a⏏ b/; # matches completely case insensi
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_738:2
------>  class :: {/ (:i a⏏ b) c /; # matches 'ABc' but not
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_738:3
------> / [:i a⏏ b] c /; # matches 'ABc' but not
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_740:2
------> so "I used Photoshop®" ~~ m:i/ photo⏏ shop /; # OUTPUT: «True␤»
Potential difficulties:
Redeclaration of symbol '@a'
at $HOME/sandbox/perl6-doc/EVAL_838:5
------> my @a⏏ = (<1 c 6>, <2 a 4>, <5 b 3>);
Potential difficulties:
Redeclaration of symbol '$x'
at $HOME/sandbox/perl6-doc/EVAL_889:3
------> my $x⏏ = 7; # initialize 
Redeclaration of symbol '$x'
at $HOME/sandbox/perl6-doc/EVAL_889:4
------> my Int $x⏏ = 7; # declare the typ
Redeclaration of symbol '$x'
at $HOME/sandbox/perl6-doc/EVAL_889:5
------> my Int:D $x⏏ = 7; # specify that the 
Redeclaration of symbol '$x'
at $HOME/sandbox/perl6-doc/EVAL_889:6
------> my Int $x where { $_ > 3 }⏏ = 7; # constrain the value based on a f
Redeclaration of symbol '$x'
at $HOME/sandbox/perl6-doc/EVAL_889:7
------> my Int $x where * > 3⏏ = 7; # same constraint, but using 
Potential difficulties:
Redeclaration of symbol '&f'
at $HOME/sandbox/perl6-doc/EVAL_891:3
------> my &f⏏ = -> { say "Hello!" } # Lambda style s
Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at $HOME/sandbox/perl6-doc/EVAL_905:2
------>  class :: { say 'a b' ~~ /a⏏ b/; # OUTPUT: «False␤»
Potential difficulties:
Redeclaration of symbol '%h'
at $HOME/sandbox/perl6-doc/EVAL_1798:4
------> my %h⏏ = a => 'b', c => 'd', e => 'f';
Redeclaration of symbol '%h'
at $HOME/sandbox/perl6-doc/EVAL_1798:6
------> my %h⏏ = <a b c d e f>;
Potential difficulties:
Redeclaration of symbol '%h'
at $HOME/sandbox/perl6-doc/EVAL_1804:3
------> my %h⏏; %h<a b c> = ^3; %h.perl.say; # OU
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2251:
Useless use of constant integer 123 in sink context (line 2)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2253:
Useless use of constant integer 500000 in sink context (lines 2, 3)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2591:
Useless use of "==" in expression ".total == 6" in sink context (line 2)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2710:
Useless use of ":key<value>" in sink context (line 4)
Useless use of ":foo(127)" in sink context (line 6)
Useless use of ":key<value1 value2>" in sink context (line 5)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2711:
Useless use of ":key" in sink context (line 2)
WARNINGS for $HOME/sandbox/perl6-doc/EVAL_2886:
Useless use of constant value 3.1 in sink context (line 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment