www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - VisualD cannot list member for (utf-8 char)

reply "sdvcn" <sdvcn 126.com> writes:
enum eNU{
	中国=99,
	china=666,

}

void 执行()
{
	eNU cc = eNU.中国;//VisualD error,not list member
	writeln("Hello D-World!");
}

int main(string[] argv)
{
执行();
}

Compile is good;
Dec 02 2014
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 03.12.2014 03:25, sdvcn wrote:
 enum eNU{
      中国=99,
      china=666,

 }

 void 执行()
 {
      eNU cc = eNU.中国;//VisualD error,not list member
      writeln("Hello D-World!");
 }

 int main(string[] argv)
 {
 执行();
 }

 Compile is good;
I can confirm completion doesn't work here. Thanks for reporting to bugzilla.
Dec 04 2014
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 04.12.2014 23:10, Rainer Schuetze wrote:
 On 03.12.2014 03:25, sdvcn wrote:
 enum eNU{
      中国=99,
      china=666,

 }

 void 执行()
 {
      eNU cc = eNU.中国;//VisualD error,not list member
      writeln("Hello D-World!");
 }

 int main(string[] argv)
 {
 执行();
 }

 Compile is good;
I can confirm completion doesn't work here. Thanks for reporting to bugzilla.
This should be fixed in https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.40-beta4
Dec 20 2014