[ nice-Bugs-1090870 ] compiler crash

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

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

Initial Comment:
It said to report this bug, so here it is. Also in attached 
zip along with the code and makefile. 

cd c:/Documents and Settings/beckerle.ASCENTIAL/My 
Documents/flash/nicetest/bug2/
make -k test
nicec.bat --version
Nice compiler version 0.9.9 (build 2004.09.22, 00:40:25 
UTC)
Compiled using JDK 1.4.2_04
Copyright (C) 2003 Daniel Bonniot
Visit the Nice homepage: http://nice.sourceforge.net
nicec.bat  --sourcepath=.. -a bug2.jar bug2
nice.lang: parsing
bug2: parsing

An exception has occured in the compiler
Please fill-in a bug report at the following webpage:
http://sourceforge.net/tracker/?
func=add&group_id=12788&atid=112788

Stack trace:
Exception in thread "main" mlsub.typing.BadSizeEx: 2 
expected, 0 given
	at mlsub.typing.MonotypeConstructor.<init>
(MonotypeConstructor.java:50)
	at bossa.syntax.NiceMethod.create
(NiceMethod.java:123)
	at 
bossa.parser.Parser.internalMethodOrFunction
(Parser.java:900)
	at bossa.parser.Parser.classDefinition
(Parser.java:1304)
	at bossa.parser.Parser.definition
(Parser.java:2409)
	at bossa.parser.Parser.readDefinitions
(Parser.java:2446)
	at bossa.parser.Parser.module
(Parser.java:3019)
	at bossa.parser.JavaccParser.read
(JavaccParser.java:70)
	at bossa.modules.Content.read
(Content.java:111)
	at bossa.modules.Content.getDefinitions
(Content.java:86)
	at bossa.modules.Package.read
(Package.java:121)
	at bossa.modules.Package.<init>
(Package.java:87)
	at bossa.modules.Package.make
(Package.java:58)
	at bossa.modules.fun.setMainPackage
(Compilation.nice:89)
	at bossa.modules.Compilation.setMainPackage
(Compilation.nice)
	at nice.tools.compiler.fun.compile
(interface.nice:38)
	at bossa.modules.Compilation.compile
(Compilation.nice)
	at nice.tools.compiler.console.fun.compile
(main.nice:165)
	at nice.tools.compiler.console.dispatch.compile
(dispatch.nice)
	at nice.tools.compiler.console.fun.main
(main.nice:181)
	at nice.tools.compiler.console.dispatch.main
(dispatch.nice)

Compilation finished at Fri Dec 24 10:43:57


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1090870&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/