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
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.
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 fortran-lang/fortls#62, but at least you should not be getting diagnostic errors.
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:
Error message:
The above example code does compile successfully with
gfortran
.Info about the associate language spec itself:
The text was updated successfully, but these errors were encountered: