Re: Issue with casting types

2016-05-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 5/17/16 10:19 AM, Thorsten Sommer wrote: On Tuesday, 17 May 2016 at 13:13:54 UTC, Steven Schveighoffer wrote: On 5/17/16 8:59 AM, Steven Schveighoffer wrote: I think you need to avoid it for now. Please file an issue. I see from ag0aep6g, that there is already an issue. I updated it. Th

Re: Issue with casting types

2016-05-17 Thread Thorsten Sommer via Digitalmars-d-learn
On Tuesday, 17 May 2016 at 13:13:54 UTC, Steven Schveighoffer wrote: On 5/17/16 8:59 AM, Steven Schveighoffer wrote: I think you need to avoid it for now. Please file an issue. I see from ag0aep6g, that there is already an issue. I updated it. -Steve Thanks ag0aep6g and Steve for the fast

Re: Issue with casting types

2016-05-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 5/17/16 8:59 AM, Steven Schveighoffer wrote: I think you need to avoid it for now. Please file an issue. I see from ag0aep6g, that there is already an issue. I updated it. -Steve

Re: Issue with casting types

2016-05-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 5/17/16 8:24 AM, Thorsten Sommer wrote: Dear all, I run into an issue with a simple cast: https://dpaste.dzfl.pl/8e7f7c545eb1 I have a base class and a class A with inherit from that base class: A <- BaseClass If the base class contains an "alias this", any casting attempt fails because the

Re: Issue with casting types

2016-05-17 Thread ag0aep6g via Digitalmars-d-learn
On 05/17/2016 02:24 PM, Thorsten Sommer wrote: Dear all, I run into an issue with a simple cast: https://dpaste.dzfl.pl/8e7f7c545eb1 I have a base class and a class A with inherit from that base class: A <- BaseClass If the base class contains an "alias this", any casting attempt fails because

Issue with casting types

2016-05-17 Thread Thorsten Sommer via Digitalmars-d-learn
Dear all, I run into an issue with a simple cast: https://dpaste.dzfl.pl/8e7f7c545eb1 I have a base class and a class A with inherit from that base class: A <- BaseClass If the base class contains an "alias this", any casting attempt fails because the "alias this" type gets considered. Thus,