digitalmars.D.bugs - botched CatchParameter syntax
- Thomas Kuehne (19/25) Feb 17 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Walter Bright (1/1) Feb 17 2006 The compiler's fine, the documentation is broken.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://www.digitalmars.com/d/statement.html:Catch: catch () CatchParameter BlockStatementParameter declares a variable v of type T, where T is Object or derived from Object.1) Shouldn't "Parameter" in the text be replaced by "CatchParameter"? 2) The compiler seems to use:Catch: catch (CatchParameter) BlockStatement3) Added to DStress as http://dstress.kuehne.cn/nocompile/c/catch_06.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD9Z2o3w+/yD4P9tIRApj6AKCQgoEVcytONSkG4hW2jdpvKgaEewCgp8dM 0xtoyHXy4m/qcpjgIukmpcI= =wkr7 -----END PGP SIGNATURE-----
Feb 17 2006
The compiler's fine, the documentation is broken.
Feb 17 2006