--- @generic T
--- @param value { value : T, get : (fun(val : T) : T) }
--- @return any
function Test(value)
return value;
end
local value = Test({
value = 2,
get = function(val)
return val; -- val should be showed as type number to
end
});
What happens?(出现什么问题?)
The suggestions is not showing the defined param table content type correctly.
Windows 10 IntelliJ IDEA 2019.2.4
What happens?(出现什么问题?)
The suggestions is not showing the defined param table content type correctly.![image](https://user-images.githubusercontent.com/48178307/161549179-459e02cb-f26f-4fbc-b499-b8f8857a20ab.png)
What were you expecting to happen?(期望?)
To show the type corectly.
![image](https://user-images.githubusercontent.com/48178307/161550420-df35e93f-08a0-468e-a5e8-5ce316c773c3.png)