Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove tests I've added from TODO
  • Loading branch information
hoelzro committed Jul 25, 2014
1 parent 248eccb commit 9461c28
Showing 1 changed file with 0 additions and 76 deletions.
76 changes: 0 additions & 76 deletions S26-TODO
@@ -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?

0 comments on commit 9461c28

Please sign in to comment.