problem with "expect Exception"
Posted: Sat Dec 13, 2008 1:49 pm
When I try to compile the following program:
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
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