# HG changeset patch # User thomask # Date 1117627829 0 # Node ID 1c17ba0ad3cdc332b71d5af9e99613da1f740fc6 # Parent 5cfc11e8cfceeb400dc4e19b96e5463d6e55e3c6 aliasing an interface array after another interface using the alias makes it impossible to implement the interface Burton Radons 2005-05-22 d6qih3$2b20$1@digitaldaemon.com diff -r 5cfc11e8cfce -r 1c17ba0ad3cd run/a/alias_24_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/a/alias_24_A.d Wed Jun 01 12:10:29 2005 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Burton Radons +// @date@ 2005-05-22 +// @uri@ d6qih3$2b20$1@digitaldaemon.com +// @desc@ aliasing an interface array after another interface using the alias makes it impossible to implement the interface + +module dstress.run.a.alias_24_A; + +interface S{ +} + +interface I{ + void test(SList); +} + +alias S [] SList; + +class C : I{ + void test(SList o){ + } +} + +int main(){ + C c = new C; + return 0; +} diff -r 5cfc11e8cfce -r 1c17ba0ad3cd run/a/alias_24_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/a/alias_24_B.d Wed Jun 01 12:10:29 2005 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Burton Radons +// @date@ 2005-05-22 +// @uri@ d6qih3$2b20$1@digitaldaemon.com +// @desc@ aliasing an interface array after another interface using the alias makes it impossible to implement the interface + +module dstress.run.a.alias_24_B; + +interface S{ +} + +alias S [] SList; + +interface I{ + void test(SList); +} + +class C : I{ + void test(SList o){ + } +} + +int main(){ + C c = new C; + return 0; +}