View previous topic :: View next topic |
Author |
Message |
Mahe
Joined: 23 Mar 2008 Posts: 4
|
Posted: Sun Mar 23, 2008 2:50 pm Post subject: Const Member Functions |
|
|
Hi,
I'm trying some D2.0 code and I get a wrong error message from Descent (I have set the compiler settings to 2.0):
Quote: | Functions cannot be const or auto |
When using this code:
Code: |
class A
{
string a;
const string getA() { return a; }
}
|
But the code compiles without errors. |
|
Back to top |
|
|
Mahe
Joined: 23 Mar 2008 Posts: 4
|
Posted: Mon Mar 24, 2008 10:29 am Post subject: |
|
|
Also property "idup" of char[] is marked as error
|
|
Back to top |
|
|
asterite
Joined: 01 Jun 2006 Posts: 235 Location: Buenos Aires, Argentina
|
Posted: Tue Mar 25, 2008 7:29 am Post subject: |
|
|
D 2.x is currently not supported in Descent. |
|
Back to top |
|
|
|