You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caveat: if we make it non-matching, this pattern should become compileable var ($*_; $v = $_; $*_).
Right now it will fail to compile as it forms an AST that can't be parsed by go/parser.
I'm attaching a patch that could be used as a reference for gendecl () aware matching implementation.
Right now it does.
But I think it shouldn't.
Caveat: if we make it non-matching, this pattern should become compileable
var ($*_; $v = $_; $*_)
.Right now it will fail to compile as it forms an AST that can't be parsed by
go/parser
.I'm attaching a patch that could be used as a reference for gendecl
()
aware matching implementation.patch.txt
The text was updated successfully, but these errors were encountered: