All pastes #11372 Raw Edit

Destructor trace

public python v1 · immutable
#11372 ·published 2005-05-09 23:20 UTC
rendered paste body
/home/peter/boo/playground/destructor.boo(3,9): node 'TestDestruction.constructor' mark visited.(-1,-1): Internal compiler error: $System.ArgumentException: Member type not supported: TestDestruction.destructorin <0x00211> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:CreateEntity (Boo.Lang.Compiler.Ast.TypeMember member)in <0x0002e> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:GetMemberEntity (Boo.Lang.Compiler.Ast.TypeMember member)in <0x000a5> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:GetMembers ()in <0x00038> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x00019> Boo.Lang.Compiler.TypeSystem.InternalClass:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x0007c> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x00025> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (System.String name, EntityType flags)in <0x00015> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (System.String name)in <0x00025> Boo.Lang.Compiler.Steps.ProcessMethodBodies:ResolveName (Boo.Lang.Compiler.Ast.Node node, System.String name)in <0x00056> Boo.Lang.Compiler.Steps.ProcessMethodBodies:OnReferenceExpression (Boo.Lang.Compiler.Ast.ReferenceExpression node)in <0x0001a> Boo.Lang.Compiler.Ast.ReferenceExpression:Accept (IAstVisitor visitor)in <0x00029> Boo.Lang.Compiler.Ast.DepthFirstVisitor:Visit (Boo.Lang.Compiler.Ast.Node node)    Leaving Boo.Lang.Compiler.Steps.ProcessMethodBodiesWithDuckTypingBCE0055: Boo.Lang.Compiler.CompilerError: Internal compiler error: Member type not supported: TestDestruction.destructor. ---> System.ArgumentException: Member type not supported: TestDestruction.destructorin <0x00211> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:CreateEntity (Boo.Lang.Compiler.Ast.TypeMember member)in <0x0002e> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:GetMemberEntity (Boo.Lang.Compiler.Ast.TypeMember member)in <0x000a5> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:GetMembers ()in <0x00038> Boo.Lang.Compiler.TypeSystem.AbstractInternalType:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x00019> Boo.Lang.Compiler.TypeSystem.InternalClass:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x0007c> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (Boo.Lang.List targetList, System.String name, EntityType flags)in <0x00025> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (System.String name, EntityType flags)in <0x00015> Boo.Lang.Compiler.TypeSystem.NameResolutionService:Resolve (System.String name)in <0x00025> Boo.Lang.Compiler.Steps.ProcessMethodBodies:ResolveName (Boo.Lang.Compiler.Ast.Node node, System.String name)in <0x00056> Boo.Lang.Compiler.Steps.ProcessMethodBodies:OnReferenceExpression (Boo.Lang.Compiler.Ast.ReferenceExpression node)in <0x0001a> Boo.Lang.Compiler.Ast.ReferenceExpression:Accept (IAstVisitor visitor)in <0x00029> Boo.Lang.Compiler.Ast.DepthFirstVisitor:Visit (Boo.Lang.Compiler.Ast.Node node)--- End of inner exception stack trace ---in <0x00019> Boo.Lang.Compiler.Ast.DepthFirstVisitor:OnError (Boo.Lang.Compiler.Ast.Node node, System.Exception error)in <0x00076> Boo.Lang.Compiler.Steps.AbstractVisitorCompilerStep:OnError (Boo.Lang.Compiler.Ast.Node node, System.Exception error)in <0x00083> Boo.Lang.Compiler.Ast.DepthFirstVisitor:Visit (Boo.Lang.Compiler.Ast.Node node)in <0x0003c> Boo.Lang.Compiler.Ast.DepthFirstVisitor:OnMemberReferenceExpression (Boo.Lang.Compiler.Ast.MemberReferenceExpression node)in <0x0001a> Boo.Lang.Compiler.Ast.MemberReferenceExpression:Accept (IAstVisitor visitor)in <0x00029> Boo.Lang.Compiler.Ast.DepthFirstVisitor:Visit (Boo.Lang.Compiler.Ast.Node node)