Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove tests I've added from TODO
- Loading branch information
Showing
1 changed file
with
0 additions
and
76 deletions.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,94 +1,18 @@ | ||
| Pod::Block::Declarator.contents should be an array? | ||
| #={ ... }, #|{ ... } | ||
| Test with space separation between them (ex. #= ...\n\n\nclass Whatever) | ||
| module Module;\n#= comment | ||
| POD_BLOCKS | ||
| say 'hi'; sub foo {\n#= comment\n} | ||
| regex/grammar trailing decls | ||
| supersede and friends | ||
| Can you document return values of subs? | ||
|
|
||
| say(sub { | ||
| #= hello | ||
| }.WHY) | ||
|
|
||
| sub foo {} ; sub bar {} | ||
| #= hi | ||
|
|
||
| sub foo { #= comment | ||
| #= another comment | ||
| } | ||
| #= yet another comment | ||
|
|
||
| sub foo() {} | ||
| say 'hi'; | ||
| #= comment | ||
|
|
||
| sub | ||
| foo { | ||
| #= I'm being difficult! | ||
| } | ||
|
|
||
| sub foo { } | ||
| #| before comment for bar | ||
| #= after comment for foo | ||
| sub bar { } | ||
|
|
||
| #| really before | ||
| #| before | ||
| sub foo {} # doesn't work | ||
|
|
||
| #| really before | ||
| #| before | ||
| sub foo { | ||
| #= after | ||
| } | ||
| #= really after | ||
| # this repeats really after | ||
|
|
||
| has $.first; has $.second; #= comment | ||
|
|
||
| has #= comment | ||
| $.attribute #= another comment | ||
| = 17; | ||
|
|
||
| class Test { | ||
| has ($.foo, $.bar); | ||
| } | ||
|
|
||
| #|{ hello | ||
| world | ||
| } # is world indented? | ||
|
|
||
| sub foo(Str $param1, Str $param2) { | ||
| #= trailing comment for foo | ||
| } | ||
|
|
||
| sub foo( | ||
| Str $param | ||
| ) | ||
| #= trailing comment that does nothing | ||
| { | ||
| } | ||
|
|
||
| sub foo(#|{one} Str $first, #|{two} Int $second) {...} | ||
|
|
||
| sub foo( #| leading for param? | ||
| Str $param | ||
| ) {} | ||
|
|
||
| Trailing space for more things than just subs | ||
| Get away from %*SEEN_IT | ||
|
|
||
| sub comment( #= sub | ||
| Str $param | ||
| ) | ||
|
|
||
| sub comment( #| param | ||
| Str $param | ||
| ) | ||
|
|
||
| Document anonymous parameters | ||
| Make sure that comments from inner/outer don't bleed through (sub/parameter, method/parameter, submethod/parameter, module/member, class/attr, class/method) for leading/trailing/both | ||
| Make sure that things that shouldn't have comments don't (leading/trailing/both) | ||
| Can you document the invocant of a method? |