Problem 1
Steps:
- Create a type custom containing a function with
self
. - Try to use autocomplete inside a method.
It only works if you explicitly write the self
parameter:
Same happens if I don’t write --!strict
.
Problem 2
Steps:
- Create a type custom.
- Write a
for in pairs do
. - Try to edit the variable inside the
pairs
.
Instead of suggesting only the properties of type, it suggests global variables.
Expected behavior
- Type values should appear, in this case “Value” and the function should appear when writing within the function
- It should only suggest the properties of type, in this case only
List
.