View Issue Details

IDProjectCategoryView StatusLast Update
0000098Ecere SDKcompilerpublic2014-07-11 18:48
Reporterredj Assigned To 
PriorityurgentSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Target Version0.46 eC II 
Summary0000098: using import in circular fashion classes deriving from window will no be known as such (must use import "ecere" to work around)
Descriptiontake the IDE example

ide.ec imports GDBDialog.ec and Debugger.ec; those both import ide.ec

if you don't import ecere in GDBDialog.ec and try to use the GDBDialog class
in ide.ec, the compiler will not know it's a Window derived class
Additional InformationI think there must be some method / members calling code in a circular fashion
as well for the bug to show up...
TagsNo tags attached.

Activities

jerome

2008-07-14 17:14

administrator   ~0000057

See idlist.ec
It imports "ecere" before importing "EDA" and gui
and so does wsms.ec
schema.ec imports "EDA"
yet wsms.ec imports "ecere" before "schema"

redj

2008-07-14 17:14

administrator   ~0000058

might get similar output

 ide.ec
    src/ide.ec:830:14: warning: incompatible expression this.gdbDialog (GDBDialog); expected ecere::com::Instance
    src/ide.ec:738:13: error: undefined class GDBDialog
    src/ide.ec:833:16: error: couldn't determine type of { left = 100, top = 100, right = 100, bottom = 100 }
 ide (Debug) - 2 errors, 1 warning

jerome

2014-07-11 18:48

administrator   ~0001375

Test whether this still happens with latest code.

Issue History

Date Modified Username Field Change
2008-07-14 17:11 redj New Issue
2008-07-14 17:14 jerome Note Added: 0000057
2008-07-14 17:14 redj Note Added: 0000058
2010-07-26 14:22 redj Relationship added child of 0000437
2010-07-29 15:18 jerome Priority normal => urgent
2012-03-08 16:51 redj Target Version => 0.45 Ginkakuji
2012-03-08 19:21 redj Relationship deleted child of 0000437
2012-03-29 07:50 redj Category => eC Compiling Tools
2012-03-29 07:50 redj Project @2@ => Ecere SDK
2014-07-11 18:47 jerome Target Version 0.45 Ginkakuji => 0.46 eC II
2014-07-11 18:48 jerome Note Added: 0001375