You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure how well defined this behaviour is and I need to investigate further but I noticed that the latest versions of the linter seem to not be updating the diagnostics when we go from errors -> no errors. That seems to indicate that there is a lingering state that does not get disposed.
Clearing the diagnostics via the command palette seems to resolve the issue.
This issue was also noticed in the fpm project
Screenshots
Screencast.2022-10-10.14.44.38.mp4
Expected Behaviour
Dispose diagnostics (errors) when code compiler conforming
Version of Modern Fortran
v3.4.2022101002
Version of Visual Studio Code
latest insiders
Platform and Architecture
Linux x64
Additional Information
MWE
metis.F90
module metis
use iso_c_binding
implicit none
private
#if IDXTYPEWIDTH == 32
integer, parameter, public :: idx_t = c_int32_t
#elif IDXTYPEWIDTH == 64
integer, parameter, public :: idx_t = c_int64_t
#else
#error "Incorrect user-supplied value fo IDXTYPEWIDTH"
#endif
#if REALTYPEWIDTH == 32
#elif REALTYPEWIDTH == 64
#else
#error "Incorrect user-supplied value for REALTYPEWIDTH"
#endifcontains
end module metis
Is there an existing issue for this?
Description
I am not sure how well defined this behaviour is and I need to investigate further but I noticed that the latest versions of the linter seem to not be updating the diagnostics when we go from errors -> no errors. That seems to indicate that there is a lingering state that does not get disposed.
Clearing the diagnostics via the command palette seems to resolve the issue.
This issue was also noticed in the fpm project
Screenshots
Screencast.2022-10-10.14.44.38.mp4
Expected Behaviour
Dispose diagnostics (errors) when code compiler conforming
Version of Modern Fortran
v3.4.2022101002
Version of Visual Studio Code
latest insiders
Platform and Architecture
Linux x64
Additional Information
MWE
metis.F90
settings.json
The text was updated successfully, but these errors were encountered: