When I use the Modern Fortran plugin in VSCode and hover hi in this little piece of code:
program main
implicit none
associate (hi => say_hi())
if (hi) print *, 'Bye'
end associate
contains
logical function say_hi()
print *, 'Hi'
say_hi = .true.
end
end program
I get this error message:

The program, however, runs normally and prints:
Specs
- macOS Ventura
13.2.1, M1
- Visual Studio Code
1.76.2
- Modern Fortran
v3.2.0, but the same is observed on the pre-release version v3.4.2023030801
- fortls
2.13.0, installed via Homebrew
- Python
3.11.2
Related Issues: #214, #108
When I use the Modern Fortran plugin in VSCode and hover
hiin this little piece of code:I get this error message:
The program, however, runs normally and prints:
Specs
13.2.1, M11.76.2v3.2.0, but the same is observed on the pre-release versionv3.4.20230308012.13.0, installed via Homebrew3.11.2Related Issues: #214, #108