[ nice-Bugs-1070354 ] Dot access to underscore-named fields.
"SourceForge.net" <[email protected]> Sun, 21 Nov 2004 01:13:58 -0800
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1070354, was opened at 2004-11-21 12:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1070354&group_id=12788
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Artem Gr Kozarezov (artemgr)
Assigned to: Nobody/Anonymous (nobody)
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;
}
----------------------------------------------------------------------
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