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
The new ASTScope lookup mechanism needs to query ASTNodes for some sort of source range such that any name to be looked up within the context of the node lies within the source range. However, the source ranges assigned to these two literals is just a point at the start of each, in keeping with other uses of source ranges. As a result, the ASTScope mechanism must do extra work, including relexing, to find the true location of the last look-upable token in any expression.
I suspect that interpolated string literals are both tokens and expressions and that there must be some more principled way to deal with them in the compiler.