[ nice-Bugs-1090888 ] another compiler crash

"SourceForge.net" <[email protected]> Fri, 24 Dec 2004 08:43:30 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1090888, was opened at 2004-12-24 11:43
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=1090888&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: mike.beckerle (mbeckerle)
Assigned to: Nobody/Anonymous (nobody)
Summary: another compiler crash

Initial Comment:
This crashes the compiler 0.9.9:

It worked until I added the "toString() call in the last line.

package dfdl;

class Env extends HashMap<String, String> {}

Env makeEnv(List<(String, String)> initList) {
  return new Env(initList.listToMap());
}

void _test_makeEnv() {
  var env = makeEnv([("foo", "bar"), ("quux", "bar")]);
  println(env);
  assert(equals(env.toString(), "{foo=bar, quux=bar}"));
}


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/