October 19, 2007 [Issue 1595] New: Multiple typedefs of Exception should be treated as different types. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1595 Summary: Multiple typedefs of Exception should be treated as different types. Product: DGCC aka GDC Version: 0.24 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn@users.sf.net ReportedBy: pop.atry@gmail.com module typedef_exception; typedef Exception MyException1; typedef Exception MyException2; void main() { try { } catch (MyException1 e) { } catch (MyException2 e) { } } typedef_exception.d:5: Error: catch at typedef_exception.d:6 hides catch at typedef_exception.d:7 -- |
Copyright © 1999-2021 by the D Language Foundation