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
{{ message }}
Repository navigation
view: the edit range of an expression that starts with ( drops the ( #2062
This content was written by an AI agent and must be verified by a human developer. After human verification, this alert may be removed.
Found in the review of #2057, which adds the experimental view. It does not block that PR; #2059 fixed the findings that did. Paths refer to #2059's head.
Problem
The view model's expression range (expr, expr_range) starts after an opening (, so an edit through the range leaves the ( behind.
definition_span in crates/graphcal-project/src/view_model/project.rs builds the range from the IR span of the definition and trims the text by hand. The IR span of a parenthesized expression does not include the (.
Activity
View model contract v1 (#2090 lane A) (#2106)