Gentle ping after no feedback.

FTR: The proposed change was tested by an ad-hoc PEG interpreter based
on the updated EBNF:
https://gitlab.com/cznic/gc/-/blob/6cc7f3006a019a52c49db3d13276c0a5c6d24a00/v2/internal/ebnf/all_test.go#L275.

---------- Forwarded message ---------
From: Jan Mercl <0xj...@gmail.com>
Date: Fri, May 20, 2022 at 9:42 PM
Subject: Possible minor specification issues
To: golang-nuts <golang-nuts@googlegroups.com>
Cc: Robert Griesemer <g...@golang.org>


I think there might be two small omissions in the EBNF grammar for Go 1.18:

        LiteralType = StructType | ArrayType | "[" "..." "]"
ElementType | SliceType | MapType | TypeName .
        EmbeddedField = [ "*" ] TypeName .

It seems to me that in both productions s/TypeName/TypeName [ TypeArgs
]/ is correct. Other options are available, like changing the
definition of TypeName to include the optional TypeArgs part and
dropping the same from the Type production.

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-VeVMOhESV%2BSeaEj5-D27B1DA3rdv3vxspXVP6x7UGjoQ%40mail.gmail.com.

Reply via email to