Suggest link to tutorial's operator desugaring table

This commit is contained in:
Nathan Kramer 2024-09-30 18:14:35 +10:00
parent 609620da2e
commit be4e3b5983
No known key found for this signature in database
GPG key ID: F067E9F18E762681
2 changed files with 11 additions and 6 deletions

View file

@ -309,8 +309,11 @@ fn to_expr_report<'a>(
alloc.reflow(" instead."),
],
_ => vec![
alloc.reflow("I have no specific suggestion for this operator, "),
alloc.reflow("see TODO for the full list of operators in Roc."),
alloc.reflow("I have no specific suggestion for this operator, see "),
alloc.parser_suggestion(
"https://www.roc-lang.org/tutorial#operator-desugaring-table ",
),
alloc.reflow("for the full list of operators in Roc."),
],
};