better error message: for instead of foreach

This forum is meant for questions and discussions about the X# language and tools
User avatar
wriedmann
Posts: 3655
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

better error message: for instead of foreach

Post by wriedmann »

Hi Chris,

I know that the providing of special messages is a bigger task, but IMHO it is very important because clear error messages are a big help during the development - and can be a real time saver.

Wolfgang
BTW: I like electric driving very much, specially in the mountains
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

better error message: for instead of foreach

Post by Chris »

Hi Wolfgang,

I agree, very often generic parser errors make it very difficult to find what's the problem exactly. Problem is it's 100s of cases where it needs to be adjusted...
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
ic2
Posts: 1804
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

better error message: for instead of foreach

Post by ic2 »

Chris wrote:Wolfgang - It's just a lot of work to implement it and it will be useful in only 2-3 templates, but will finally do it in one rainy day!
Note that there is no such thing as a "rainy day" in Greece :lol:

Dick
User avatar
robert
Posts: 4262
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

better error message: for instead of foreach

Post by robert »

Dick,

I thought that too, but when I visited Chris In Lamia in October 2018 it was raining 'cats and dogs'....

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
lumberjack
Posts: 723
Joined: Fri Sep 25, 2015 3:11 pm
Location: South Africa

better error message: for instead of foreach

Post by lumberjack »

robert wrote:Dick,
I thought that too, but when I visited Chris In Lamia in October 2018 it was raining 'cats and dogs'....
Raining cats and dogs here at the moment... Parks board are on standby to open up lagoons in the area due to possible flood risk seeing we also on spring tide...
______________________
Johan Nel
Boshof, South Africa
User avatar
Chris
Posts: 4584
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

better error message: for instead of foreach

Post by Chris »

Yeap, we didn't use to have much rain, in fact had issues with available water 20 years ago. But now we are getting closer to a tropical climate, have 5-6 months of a lot of heat (it's end of September and we're still having temps over 30C), followed by 3 months that rains almost every single day where I live. Then, in the Winter we are now getting snow every year, which was also a rarity in the past.

No, no, there's no climate change, it's a conspiracy! :)
(sarcasm...)
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply