# New Ticket Created by  Rob Hoelz 
# Please include the string:  [perl #126202]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126202 >


In this example:

    class Foo { method bar { } #= baz
    };

    say Foo.^find_method('bar')[0].WHY

The comment 'baz' is attached to the class Foo, rather than the method bar.  
This is the correct behavior given the specification, but I can see how that 
would be confusing to a beginner.

Reply via email to