[ nice-Bugs-1090888 ] another compiler crash

"SourceForge.net" <[email protected]> Fri, 24 Dec 2004 09:01:57 -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 (Comment added) made by mbeckerle
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}"));
}


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

>Comment By: mike.beckerle (mbeckerle)
Date: 2004-12-24 12:01

Message:
Logged In: YES 
user_id=1182016


So I thought. Now regardless of what I do with the toString it 
always crashes the compiler.

I'm pretty much blocked by this bug. I don't want to go 
replace Env in my source code with Map<String, String>, but 
that's the only workaround. 

So, in the scheme of priorities, this one is very important to 
me.

Thanks -mike beckerle


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

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/