[ nice-Bugs-910778 ] compiler error - invalid super type
"SourceForge.net" <[email protected]> Fri, 16 Apr 2004 06:18:25 -0700
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #910778, was opened at 2004-03-06 03:54
Message generated for change (Comment added) made by arjanb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=910778&group_id=12788
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Isaac Gouy (igouy)
>Assigned to: Arjan Boeijink (arjanb)
Summary: compiler error - invalid super type
Initial Comment:
class A extends int {}
Stack trace:
Exception in thread "main" java.lang.Error: invalid super
type
at gnu.expr.ClassExp.setTypes(ClassExp.java:225)
at gnu.expr.ClassExp.getType(ClassExp.java:287)
at bossa.syntax.NiceClass.resolveClass
(NiceClass.java:403)
at bossa.syntax.ClassDefinition.resolveClass
(ClassDefinition.java:540)
at bossa.syntax.ClassDefinition$Class.resolveClass
(ClassDefinition.java:293)
at bossa.syntax.ClassDefinition.resolve
(ClassDefinition.java:515)
at bossa.syntax.Node.doResolve(Node.java:261)
at bossa.syntax.AST.resolve(AST.java:99)
at bossa.syntax.AST.resolveScoping
(AST.java:116)
at bossa.modules.Package.load(Package.java:242)
at mlsub.compilation.fun.lambda18(load.nice:24)
at mlsub.compilation.fun.apply1(load.nice:0)
at gnu.expr.ModuleMethod.apply1
(ModuleMethod.java:89)
at nice.lang.fun.foreach(collections.nice:126)
at nice.lang.dispatch.foreach(range.nice:0)
at mlsub.compilation.fun.loadComponent
(load.nice:24)
at mlsub.compilation.dispatch.loadComponent
(dispatch.nice)
at mlsub.compilation.fun$load.lambda22
(load.nice:45)
at mlsub.compilation.fun$load.apply1(load.nice:0)
at gnu.expr.ModuleMethod.apply1
(ModuleMethod.java:89)
at nice.lang.fun.foreach(collections.nice:126)
at nice.lang.dispatch.foreach(range.nice:0)
at mlsub.compilation.fun.load(load.nice:44)
at mlsub.compilation.dispatch.load(dispatch.nice)
at mlsub.compilation.fun.make(make.nice:41)
at mlsub.compilation.dispatch.make(dispatch.nice)
at nice.tools.compiler.fun.compile
(interface.nice:40)
at nice.tools.compiler.dispatch.compile
(dispatch.nice)
at nice.tools.compiler.console.fun.compile
(main.nice:168)
at nice.tools.compiler.console.dispatch.compile
(dispatch.nice)
at nice.tools.compiler.console.fun.main
(main.nice:184)
----------------------------------------------------------------------
>Comment By: Arjan Boeijink (arjanb)
Date: 2004-04-16 15:18
Message:
Logged In: YES
user_id=688815
Fixed in cvs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=910778&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