From db7bf1352000765b4b595712aebad7931111d54a Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Mon, 22 Apr 2024 17:26:08 +0900 Subject: [PATCH] Fix proc type syntax --- docs/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax.md b/docs/syntax.md index 477675f81..da5e9de9f 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -45,7 +45,7 @@ _literal_ ::= _string-literal_ | `false` _proc_ ::= `^` _parameters?_ _self-type-binding?_ _block?_ `->` _type_ - | `^` `(` `?` `)` _self-type-binding?_ _block?_ `->` _type_ # Proc type with untyped parameter + | `^` `(` `?` `)` `->` _type_ # Proc type with untyped parameter ``` ### Class instance type