Closed googley42 closed 1 year ago
Thanks for the report. This is a known issue due to the compiler: https://github.com/scala/bug/issues/12663, first raised: https://github.com/scalameta/metals/issues/4495.
Let's close it as a duplicate then. Thanks!
Describe the bug
when I use a function from a package file and assign the result to a
var
, the IDE command + hover feature does not display type information - also the auto type complete feature result in theAny
type eg:package.scala
FooModule.scala
Main.scala
Type info for local function or function inside a module is correct.
public repo with code here https://github.com/googley42/vscode-issue and git@github.com:googley42/vscode-issue.git
Expected behavior
should show type info for command + mouse hove, also for auto type completion
Operating system
macOS
Editor/Extension
VSCode/Metals
Version of Metals
v1.0.0
Extra context or search terms
type info