You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a class/shape with bracketed field names, e.g.:
With the sample shape above, try to index members (and assign to them) through an instance of the class/shape, through brackets or dot notation (if possible), then hover over the indexer (example in "What happens?" section)
Additionally, type a. on a new line and look at the suggestions.
What happens?
2: Bracketed fields show as .null
(Field m is correct when hovered, both by doing a.m and a["m"]: shows Test.m)
3: The bracketed fields aren't being suggested
What were you expecting to happen?
For 2, should show the field names normally: treating the n field as Test.n, and others as Test[1], Test[true], etc.
For 3, it should at least include n; better if it'd also suggest the non-string-name fields.
Any logs, error output, etc?
None
Any other comments?
Also, field description is placed too near to the left edge of the tooltip, don't know if it's normal.
The text was updated successfully, but these errors were encountered:
Environment
What are the steps to reproduce this issue?
a.
on a new line and look at the suggestions.What happens?
2: Bracketed fields show as
![image](https://user-images.githubusercontent.com/38674984/103343821-e5d7bb00-4ac7-11eb-8a46-ce11f7570209.png)
![H21AZvY](https://user-images.githubusercontent.com/38674984/103343826-ea03d880-4ac7-11eb-86e4-eade2e448997.png)
.null
(Field
m
is correct when hovered, both by doinga.m
anda["m"]
: showsTest.m
)3: The bracketed fields aren't being suggested
![image](https://user-images.githubusercontent.com/38674984/103343873-0dc71e80-4ac8-11eb-8707-68ad7fb4fe70.png)
What were you expecting to happen?
For 2, should show the field names normally: treating the
n
field asTest.n
, and others asTest[1]
,Test[true]
, etc.For 3, it should at least include
n
; better if it'd also suggest the non-string-name fields.Any logs, error output, etc?
None
Any other comments?
Also, field description is placed too near to the left edge of the tooltip, don't know if it's normal.
The text was updated successfully, but these errors were encountered: