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
It seems we’re forgetting about trailing trivia when computing the insertion location for the closing paren.
Steps to Reproduce
let _ :Float->Int
error: expected '(' to start function type [bridged_error]
let _ : Float -> Int
^
note: insert '(' [bridged_note]
let _ : Float -> Int
^
(
error: expected ')' in function type [bridged_error]
let _ : Float -> Int
^
note: insert ')' [bridged_note]
let _ : Float -> Int
~^
)