[Issue 1595] New: Multiple typedefs of Exception should be treated as different types.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 19 00:16:10 PDT 2007
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 at users.sf.net
ReportedBy: pop.atry at 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
--
More information about the D.gnu
mailing list