Wiki

root/cobra/trunk/Tests/100-basics/320-enums-errors.cobra

Revision 2123, 81 bytes (checked in by Chuck.Esterbrook, 3 years ago)

Fixed: A duplicate enum error produces an internal error/exception rather than a useful error message.
reported-by:webnov8

  • Property svn:eol-style set to native
Line 
1enum A
2    B
3    C
4    C  # .error. already defined
5   
6
7class P
8
9    def main
10        print 'done.'
Note: See TracBrowser for help on using the browser.