Incorrect range for FunctionCallExpr
w/ incomplete ObjectConsExpr
inside
#582
Labels
FunctionCallExpr
w/ incomplete ObjectConsExpr
inside
#582
As can be demonstrated by the following snippet, there seems to be disparity in reporting of the range for the function call when there's an incomplete
ObjectConsExpr
(or probably any other incomplete argument) inside.The reason this is important is because it makes it difficult to enable completion in language server for attribute values (i.e. on the RHS), as it is hard to tell where exactly a given position is.
I am aware that there is probably number of other cases where incomplete configuration is parsed in unexpected ways, but the main reason I'm raising this is because of the disparity between two very similar cases.
The text was updated successfully, but these errors were encountered: