[ nice-Bugs-910778 ] compiler error - invalid super type

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #910778, was opened at 2004-03-05 18:54
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=910778&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Isaac Gouy (igouy)
Assigned to: Nobody/Anonymous (nobody)
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)



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

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.