| Anonymous | Login | Signup for a new account | 2013-06-20 06:26 CDT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0000659 | [Ecere SDK] compiler | minor | have not tried | 2011-10-17 02:28 | 2012-03-29 03:34 | |||||||
| Reporter | jerome | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | low | Resolution | open | |||||||||
| Status | new | Product Version | ||||||||||
| Summary | 0000659: Method/Symbol mixups on reverse-ordered Window hierarchy (only design issues remain) (ide/libec) | |||||||||||
| Description |
A Symbol object is created and assigned to a Method object in firstPass.ec, ~line 462 -- ProcessClass(). That Method object eventually would be deleted (if not for the patch mentionned below) when the hierarchy is fixed and the system realizes it's a virtual method, but there's no way to go back and make the function declarator's symbol point to the new method. A proper fix would be to ensure hierarchies are established in firstPass.ec before assigning Method objects to AST elements (Split in 2 passes, first do all the eSystem_RegisterClass, then do the methods). |
|||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
Notes |
|
|
(0000481) jerome (administrator) 2011-10-17 03:43 |
In firstPass, a eSystem_RegisterClass is freeing up the method that was saved into a function declarator Symbol beforehand. |
|
(0000482) jerome (administrator) 2011-10-17 18:17 edited on: 2011-10-18 13:10 |
Added a temporary patch to prevent a crash: https://github.com/ecere/sdk/commit/84d925c3301f3a5ecb77146c11bd92060f46eb03 [^] The virtual method DOES get called. But the auto-completion fails on event methods |
|
(0000484) jerome (administrator) 2011-10-18 13:42 |
Fixed auto completion issue in https://github.com/ecere/sdk/commit/dc1d794eb67fa8fc29e69953b8a6277423881574 [^] Only leak remains. |
|
(0000485) jerome (administrator) 2011-10-18 14:10 |
The leak wasn't actually there since crash patch, until auto-completion was put. Worked around the leak in https://github.com/ecere/sdk/commit/5998fb97b79a3f610963854bc78d271186d0951e [^] |
| Mantis 1.1.1[^] Copyright © 2000 - 2008 Mantis Group |