[ nice-Bugs-920187 ] Hash key - Incorrect type in assignment to key
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #920187, was opened at 2004-03-20 11:34
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=920187&group_id=12788
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Isaac Gouy (igouy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Hash key - Incorrect type in assignment to key
Initial Comment:
void main(String[] args){
var n = 5;
let table1 = new HashMap(10);
for (int i = 0; i <= n; i++)
table1["foo_" + i] = i;
String key;
for (each : table1.entrySet) {
key = each.getKey;
}
}
\Test\..\test\hash.nice: line 9, column 7:
Incorrect type in assignment to key
Found : K'<t119'>
Expected: java.lang.String
releaseInitialContext should be called when in first rigid
context
releaseInitialContext should be called when in first rigid
context
Nice compiler version 0.9.7 (build 2004.03.19, 21:15:12
UTC)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=920187&group_id=12788
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click