Beta 8: error XS1520: Method must have a return type

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

Beta 8: error XS1520: Method must have a return type

Post by wriedmann »

Hello,

in Beta 8 I have a strange compile error:

Code: Select all

error XS1520: Method must have a return type
This error gives no file, no application and no path.
According to the message, the error is occurring on line 1, column 13318.

It seems to have to do with partial classes, because first I had it two times, the first on a constructor on a partial class.

The application is a migrated VO application using the Vulcan classes because I need access to DBFCDX ( I cannot use ADS local server because it does not work on when called from Remote Desktop).

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

Beta 8: error XS1520: Method must have a return type

Post by Karl-Heinz »

Hi Wolfgang,

it´s a known 2.0.0.8 problem. Currently the partial class names are case sensitive.

https://www.xsharp.eu/forum/public-prod ... pile-error

regards
Karl-Heinz
User avatar
wriedmann
Posts: 3649
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Beta 8: error XS1520: Method must have a return type

Post by wriedmann »

Hi Karl-Heinz,

thank you very much!
Unfortunately this modules are containing a lot of class declarations, so I have to check them all.
The bad thing is that the error message returns no place where the error is occurring.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply