[ nice-Bugs-1070354 ] Dot access to underscore-named fields.

"SourceForge.net" <[email protected]> Sun, 21 Nov 2004 07:59:41 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1070354, was opened at 2004-11-21 10:13
Message generated for change (Settings changed) made by bonniot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1070354&group_id=12788

Category: None
Group: None
Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Artem Gr Kozarezov (artemgr)
Assigned to: Arjan Boeijink (arjanb)
Summary: Dot access to underscore-named fields.

Initial Comment:

Compiler reports compilation error when dot-accessing a 
class field whose name begins with underscore.

    [nicec] E:
\Peoples\Glim\Promo\build\src\ru\promo\m\cms\NiceTestC
ms.nice: line 18, column 58:
    [nicec] Encountered "._".
    [nicec] Was expecting one of:
    [nicec]     "(" ...
    [nicec]     "[" ...

Nice compiler version 0.9.9 (build 2004.09.22, 00:40:25 
UTC)
Compiled using JDK 1.4.2_04

/// COMMENT Dot access to underscore-named fields.
/// PASS
  class WithUnderscoreField {
  	int _aField;
  	int testUnderscore() = this._aField;
  }


----------------------------------------------------------------------

Comment By: Arjan Boeijink (arjanb)
Date: 2004-11-21 15:20

Message:
Logged In: YES 
user_id=688815

This bug has been fixed some time ago.
The fix isn't in 0.9.9 but it's included in the development 
version: http://nice.sourceforge.net/nice.jar

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1070354&group_id=12788


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8