fortran-language-server
fortran-language-server copied to clipboard
Named associate statement not handled
Very similar to #72, but with named associate blocks. The commented lower two lines works just fine (as was fixed in #72). The upper uncommented lines do not work with fortls:
program test
implicit none
testing: associate(c => 1)
end associate testing
! associate(c => a) ! works fine
! end associate
end program test
Error message:
Unexpected end of scope at line 6
The above example code does compile successfully with gfortran.
Info about the associate language spec itself:
Hi @jrwrigh FYI this should now be fixed in the fortls Language Server. There is however a bug where the type of c does not display see https://github.com/gnikit/fortls/issues/62, but at least you should not be getting diagnostic errors.