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
Based on a this discussion related to both #5064#8125, it was suggested by Iulian that CompilerControl.askTypeAt(pos) would be changed so that it returns the whole chain of parents (with an opaque range position) that include the passed pos.
Benefits:
No need to create opaque range position for Trees that should really have a transparent positions. This discussion should prove the point.
The solution is general enough, and will reduce code duplication, as there are several places in the IDE codebase where we need to access the parent of a Tree.
The text was updated successfully, but these errors were encountered:
Based on a this discussion related to both #5064 #8125, it was suggested by Iulian that
CompilerControl.askTypeAt(pos)
would be changed so that it returns the whole chain of parents (with an opaque range position) that include the passedpos
.Benefits:
No need to create opaque range position for Trees that should really have a transparent positions. This discussion should prove the point.
The solution is general enough, and will reduce code duplication, as there are several places in the IDE codebase where we need to access the parent of a Tree.
The text was updated successfully, but these errors were encountered: