Skip to content

Commit

Permalink
Resurrected return type
Browse files Browse the repository at this point in the history
  • Loading branch information
awelc committed Apr 3, 2024
1 parent c373382 commit 9cc054a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
error[E01012]: invalid identifier escape
┌─ tests/move_check/parser/unmatched_restricted_identifier.move:4:13
4 │ fun foo(`x: u64) { `x }
4 │ fun foo(`x: u64): u64 { `x }
│ ^^ Missing closing backtick (`) for restricted identifier escaping

error[E01012]: invalid identifier escape
┌─ tests/move_check/parser/unmatched_restricted_identifier.move:4:24
┌─ tests/move_check/parser/unmatched_restricted_identifier.move:4:29
4 │ fun foo(`x: u64) { `x }
│ ^^ Missing closing backtick (`) for restricted identifier escaping
4 │ fun foo(`x: u64): u64 { `x }
^^ Missing closing backtick (`) for restricted identifier escaping

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// unmatched `

module a::m {
fun foo(`x: u64) { `x }
fun foo(`x: u64): u64 { `x }
}

0 comments on commit 9cc054a

Please sign in to comment.