fortran-language-server
fortran-language-server copied to clipboard
Renaming module does not detect USEs with different uppercase/lowercase
The module "Test" is renamed to "Result"
module Test
end module
Points where the module was USEd with the exact same lowercase/uppercase are correctly renamed
subroutine bla()
use Test
end subroutine
But other points, were the module names was referenced with different lowercase/uppercase are not correctly renamed
subroutine bla2()
use test
end subroutine
Thanks for the report. Unfortunately, I am unable to reproduce this issue with the simple single file case below. Can you test if this error still occurs with the file below and if so, can you please provide more information about your setup (fortls version, editor, and OS)?
module Test
end module
subroutine bla()
use Test
end subroutine
subroutine bla2()
use test
end subroutine
I can confirm that it is working on WIN 10, VSCode 1.49.2, 1.11.1