go/parser: return partial result from ParseExpr in case of error
Remove redundant code and improve documentation in the process. Fixes #34211. Change-Id: I9a6d1467f1a2c98a163f41f9df147fc6500c6fad Reviewed-on: https://go-review.googlesource.com/c/go/+/196077Reviewed-by:Ian Lance Taylor <iant@golang.org>
Showing
Please register or sign in to comment