AdaCore / gnatstudio

GNAT Studio is a powerful and lightweight IDE for Ada and SPARK.
412 stars 53 forks source link

ambiguous expression (cannot resolve "To_LSP_String") #97

Closed steve-cs closed 4 years ago

steve-cs commented 4 years ago

Appears that one of the recent ada_language_server commits pushed to github in the last 24-48 hours has broken the gps build.

2020-02-02T09:40:24.9875515Z gps-lsp_module.adb:1058:22: ambiguous expression (cannot resolve "To_LSP_String")
2020-02-02T09:40:24.9878720Z gps-lsp_module.adb:1058:22: possible interpretation at lsp-types.ads:86
2020-02-02T09:40:24.9881348Z gps-lsp_module.adb:1058:22: possible interpretation at lsp-types.ads:81
2020-02-02T09:40:30.0153710Z 
2020-02-02T09:40:30.0155107Z    compilation of gps-lsp_module.adb failed
AnthonyLeonardoGracio commented 4 years ago

Hello Steve!

This error comes from a patch in the Ada Language Server that was merged on Friday and will hopefully be fixed today.

I am closing this issue since the problem is already known internally. Feel free to build GS again tomorrow ;)

Regards,

steve-cs commented 4 years ago

Yes, that one's fixed and it appears to me that another LSP related even more recent commit broke it somewhere else. If you're picking these up internally, I'll stop reporting them.

2020-02-04T09:40:50.0832284Z gps-lsp_client-editors.adb:105:07: warning: constant "Server" is not referenced
2020-02-04T09:41:02.8380798Z 
2020-02-04T09:41:02.8381686Z    compilation of gps-lsp_client-editors.adb failed
2020-02-04T09:41:02.8381746Z 
AnthonyLeonardoGracio commented 4 years ago

Hello Steve

Yes, that one's fixed and it appears to me that another LSP related even more recent commit broke it somewhere else. If you're picking these up internally, I'll stop reporting them.

2020-02-04T09:40:50.0832284Z gps-lsp_client-editors.adb:105:07: warning: constant "Server" is not referenced
2020-02-04T09:41:02.8380798Z 
2020-02-04T09:41:02.8381686Z    compilation of gps-lsp_client-editors.adb failed
2020-02-04T09:41:02.8381746Z 

Yes, we usually catch them during the day and we fix them ASAP, so no need to report them in general. Thanks nonetheless!