Re: Extending an interface or class outside of it

2013-11-25 Thread Frustrated
On Tuesday, 26 November 2013 at 06:40:24 UTC, Ali Çehreli wrote: On 11/25/2013 09:11 PM, Frustrated wrote: > On Tuesday, 26 November 2013 at 05:03:45 UTC, Ali Çehreli wrote: >> On 11/25/2013 04:27 PM, Frustrated wrote: >>> I have some type of automatically generated interface using a mixin an >>

Re: Extending an interface or class outside of it

2013-11-25 Thread Jacob Carlborg
On 2013-11-26 01:27, Frustrated wrote: I have some type of automatically generated interface using a mixin an would like to extend them after they are generated: mixin(GenerateMyInterface!(...)); ... ... Since you're generating the interface in the first place, can't you generate

Re: Extending an interface or class outside of it

2013-11-25 Thread Ali Çehreli
On 11/25/2013 09:11 PM, Frustrated wrote: > On Tuesday, 26 November 2013 at 05:03:45 UTC, Ali Çehreli wrote: >> On 11/25/2013 04:27 PM, Frustrated wrote: >>> I have some type of automatically generated interface using a mixin an >>> would like to extend them after they are generated: >>> >>>

Re: Extending an interface or class outside of it

2013-11-25 Thread Jonathan M Davis
On Tuesday, November 26, 2013 01:27:49 Frustrated wrote: > I have some type of automatically generated interface using a > mixin an would like to extend them after they are generated: > > mixin(GenerateMyInterface!(...)); > > ... MyInterface which was generated above> ... > > Is this at all pos

Re: Extending an interface or class outside of it

2013-11-25 Thread Frustrated
On Tuesday, 26 November 2013 at 05:12:00 UTC, Frustrated wrote: On Tuesday, 26 November 2013 at 05:03:45 UTC, Ali Çehreli wrote: On 11/25/2013 04:27 PM, Frustrated wrote: I have some type of automatically generated interface using a mixin an would like to extend them after they are generated:

Re: Extending an interface or class outside of it

2013-11-25 Thread Frustrated
On Tuesday, 26 November 2013 at 05:03:45 UTC, Ali Çehreli wrote: On 11/25/2013 04:27 PM, Frustrated wrote: I have some type of automatically generated interface using a mixin an would like to extend them after they are generated: mixin(GenerateMyInterface!(...)); ... MyInterface whic

Re: Extending an interface or class outside of it

2013-11-25 Thread Ali Çehreli
On 11/25/2013 04:27 PM, Frustrated wrote: I have some type of automatically generated interface using a mixin an would like to extend them after they are generated: mixin(GenerateMyInterface!(...)); ... ... Is this at all possible? Just inherit from it: interface MyInterface {

Extending an interface or class outside of it

2013-11-25 Thread Frustrated
I have some type of automatically generated interface using a mixin an would like to extend them after they are generated: mixin(GenerateMyInterface!(...)); ... MyInterface which was generated above> ... Is this at all possible?