MantisBT - Ecere SDK
View Issue Details
0000084Ecere SDKcompilerpublic2008-05-26 06:142013-05-19 22:15
jerome 
jerome 
immediateminorhave not tried
closedfixed 
 
0.44.070.44.07 
0000084: Defining virtual methods in classes inheriting from an intermediate classes crashes the compiler
Example code:

import "ecere"

class ListSection : Group
{
   void OnResize(int width, int height)
   {

   }
}

class Group : Window
{

}

The functions FixDerivativeVirtualMethod and FixDerivativeBase in instance.ec free the Method object which was already assigned to a func.declarator.symbol in firstPass.ec.

The compiler must be run under MemoryGuard to make sure the issue occur.
No tags attached.
? test.ec (125) 2008-05-26 06:14
http://ecere.com/mantis/file_download.php?file_id=13&type=bug
Issue History
2008-05-26 06:14jeromeNew Issue
2008-05-26 06:14jeromeFile Added: test.ec
2008-05-26 06:14jeromeProject@3@ => @2@
2008-05-26 06:17jeromeDescription Updated
2008-05-26 06:17jeromeDescription Updated
2010-07-29 17:01jeromePrioritynormal => immediate
2010-07-29 17:01jeromeRelationship addedchild of 0000429
2012-03-08 15:43redjTarget Versionold 0.44.pre2 => 0.45 Ginkakuji
2012-03-08 17:44redjRelationship deletedchild of 0000429
2012-03-29 07:50redjCategory => eC Compiling Tools
2012-03-29 07:50redjProject@2@ => Ecere SDK
2013-04-24 07:11jeromeStatusnew => resolved
2013-04-24 07:11jeromeFixed in Version => 0.44.07
2013-04-24 07:11jeromeResolutionopen => fixed
2013-04-24 07:11jeromeAssigned To => jerome
2013-04-24 07:11jeromeNote Added: 0000720
2013-04-25 21:37jeromeTarget Version0.45 Ginkakuji => 0.44.07
2013-05-19 22:15jeromeStatusresolved => closed

Notes
(0000720)
jerome   
2013-04-24 07:11   
This has been fixed. (Verified with compiler in MemoryGuard mode)