Ticket #213 (closed defect: duplicate)

Opened 9 years ago

Last modified 6 years ago

namespace get error with doc comment.

Reported by: nevdelap Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:


Doc comments on everything from file level down seem to be represented in the test and example code - except namespaces.

namespace N
    """ This is an uninteresting namespace. """
    class C
        def main

test.cobra(2): error: Expecting a namespace member but got """" This is an uni...

Change History

Changed 9 years ago by hopscc

This is probably a doc (wiki CodeDoc) error since looking at the cobra Parse code
namespace decls dont currently parse for a DocString.

OTOH Is there any reason why namespace should not allow having an optional docstring ?

Changed 6 years ago by hopscc

  • status changed from new to closed
  • resolution set to duplicate

dup ticket:277
fixed on that ticket

Note: See TracTickets for help on using tickets.