gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
16 stars 5 forks source link

False errors in multi-files model #126

Open lesquoyb opened 5 months ago

lesquoyb commented 5 months ago

Discussed in https://github.com/gama-platform/gama/discussions/121

Originally posted by **chapuisk** March 12, 2024 Hi there, Using the 1.9.3 release, I notice that the amount of "false errors" had increased a lot. What I called "false error" is error displayed in the model view, while nothing wrong in the code. See in the screenshot that test2.gaml is showing error on file entreprise.gaml, while this file does not have any error: ![Screenshot 2024-03-12 at 10 56 36](https://github.com/gama-platform/gama/assets/13599506/0c026044-ecd4-4772-96cb-7de160cd9b24) It is pretty annoying, even if those errors do not prevent the model to run. To get ride of those errors, I do have several tricks: close & reopen gaml files, comment & uncomment lines with errors or close re-open project. I suppose that it is linked to xtext & eclipse, hence hard to cope with, but from my experience it has increased / turned systematic from 1.9.2 to 1.9.3. Have you noticed the same on your side? Kevin
lesquoyb commented 2 months ago

@chapuisk is it still happening ? I used to have that issue too but it's been some time since it last happened now.

chapuisk commented 2 months ago

I did not jump to the next pre-release, hence i get use to them. Did not notice them so much using git version.