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
Option<|>Result<i64>
// puni-slurp-forward,expected
Option<|Result><i64>
// puni-slurp-forward,unexpected,it should be Option<|Result<i64>>
Option<|Result<>i64>
The text was updated successfully, but these errors were encountered:
puni-strict-forward-sexp thinks the < after point is a balanced sexp, because it thinks it's just a punctuation. Puni does this because forward-sexp often flies over the following punctuation, see this (in text-mode):
Bar|. Foo bar.
// `forward-sexp`
Bar. Foo| bar.
// `backward-sexp`
Bar. |Foo bar.
And, puni does nothing wrong since it actually is a punctuation!
My guess is it's a rust-mode bug, or the intermediate state Option<Result><i64> is not valid rust code so rust-mode can't parse it. If this is the case, currently I don't know how to fix it on Puni's side.
This happens in
rust-mode
.|
is where cursor is.The text was updated successfully, but these errors were encountered: