Skip to content

Commit

Permalink
error msg typo: "delcaration" -> "declaration" (#30106)
Browse files Browse the repository at this point in the history
(cherry picked from commit ee27e91)
  • Loading branch information
cormullion authored and KristofferC committed Nov 28, 2018
1 parent a9f8753 commit 4d73211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia-syntax.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3922,7 +3922,7 @@ f(x) = yt(x)
(set-car! (cdr point) `(leave ,(- hl target-level))))))))
handler-goto-fixups)
(if global-const-error
(error (string "`global const` delcaration not allowed inside function" (format-loc global-const-error))))
(error (string "`global const` declaration not allowed inside function" (format-loc global-const-error))))
(let* ((stmts (reverse! code))
(di (definitely-initialized-vars stmts vi))
(body (cons 'block (filter (lambda (e)
Expand Down

0 comments on commit 4d73211

Please sign in to comment.