cmd/compile: gracefully exit on parser stack overflow #68033
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
The
go/parser
has a mechanism to detect excessive recursion and avoid possible stack overflow (incNestLev
,decNestLev
). We should implement a similar featured in the compiler's parser (syntax package).Tracking issue.
The text was updated successfully, but these errors were encountered: