Forums

problem with "expect Exception"

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

problem with "expect Exception"

Postby jonathandavid » Sat Dec 13, 2008 1:49 pm

When I try to compile the following program:

class Simple
def main is shared
expect Exception
s = Simple()


I get a compiler error which says something like (I'm translating from Spanish) "error: a previous catch clause already detects all exceptions of that type or of higher type"

Regards,
Manuel
jonathandavid
 
Posts: 159

Re: problem with "expect Exception"

Postby Charles » Sat Dec 13, 2008 3:04 pm

Fixed, tested and checked in.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 43 guests