use v6.c;
use Test;

plan 4;

#| More
#| Than
#| One
#| Line
class App {
    #| Does
    #| Stuff
    method do-stuff(
        #| Param
        #| One
        Str $param1,

        #| Param
        #| Two
        Str $param2
    ) {}
}

my $method = App.^find_method('do-stuff');
is ~App.WHY, "More Than One Line";
is ~$method.WHY, "Does Stuff";

my ( $, $p1, $p2 ) = $method.signature.params;

is ~$p1.WHY, 'Param One';
is ~$p2.WHY, 'Param Two';
