[Gambas-bugtracker] Bug #2504: 3.17 'Cursor' class makes '.form' files incompatible to earlier versions
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Tue Mar 15 11:17:08 CET 2022
http://gambaswiki.org/bugtracker/edit?object=BUG.2504&from=L21haW4-
Christof THALHOFER reported a new bug.
Summary
-------
3.17 'Cursor' class makes '.form' files incompatible to earlier versions
Type : Bug
Priority : Medium
Gambas version : Master
Product : Development Environment
Description
-----------
When I open a project with forms in IDE 3.17 and run the code, every occurrence of cursor definitions in *.forms files is automatically changed from class "Mouse" to "Cursor".
This is a diff in a '.form' file of a project of mine, after I ran it with 3.17:
- Mouse = Mouse.Pointing
+ Mouse = Cursor.Pointing
After that the code is broken in Gambas 3.16. Gambas 3.16 complains:
'Unknown symbol Pointing in class Cursor'
If such symbols are moved to another class there should be a synonym in the old class and this part of the old class should be declared 'deprecated'.
This behavior of Gambas 3.17 breaks a lot of code in my projects and I would have to run different branches of 3.16 and 3.17 code versions as long as I do not upgrade every machine in my firm to 3.17.
So this "cosmetic" change (IMO) creates a lot of work for me. :-(
System information
------------------
nope
More information about the Bugtracker
mailing list