AdaCore / ada_language_server

Server implementing the Microsoft Language Protocol for Ada and SPARK
GNU General Public License v3.0
228 stars 54 forks source link

V801-024 Add exception handlers and logs to the refactoring tools #1016

Closed joaopsazevedo closed 2 years ago

joaopsazevedo commented 2 years ago

See this commit in laltools: https://github.com/AdaCore/libadalang-tools/commit/68ffb694053abefd74d123dee250450d576a6aa7 If any exception is raised by Is__Available, it is now logged and False is returned. If any exception is raised by .Refactor, it is now logged and No_Refactoring_Edits is returned. To enable the logs, add LALTOOLS.REFACTOR=yes to the ALS traces.

This patches: