First of all, thank you for this great work!
With fortls 1.12.0, I get a false positive about "Object not found in scope". Here is a minimal working example.
! testls.f90
module kind_mod
implicit none
private
public :: DP
integer, parameter :: DP = kind(0.0D0)
end module kind_mod
program testls
use, non_intrinsic :: kind_mod, only : DP
! If the last line is changed to `use kind_mod, only : DP`, then there is no problem.
implicit none
real(DP) :: x ! fortls complains that `Object "dp" not found in scope`
x = 0.0_DP
end program testls
fortls complains that Object "dp" not found in scope in the program testls. The complaint will disappear if we replace
use, non_intrinsic :: kind_mod, only : DP
with
Thank you for your attention.
First of all, thank you for this great work!
With
fortls 1.12.0, I get a false positive about "Object not found in scope". Here is a minimal working example.fortlscomplains thatObject "dp" not found in scopein the programtestls. The complaint will disappear if we replacewith
Thank you for your attention.