cmd/compile: internal compiler error: name too long #27256
Comments
Doesn't seem to be a regression from 1.10.3 or 1.9.7. |
A typical case of infinite interface expansion when creating the type name during object file generation. Not related to exports. Related to #26863 only insofar that in both cases an recursive algorithm stack-overflows (but the code is completely unrelated). |
@mdempsky Added you only in case you feel so inclined. |
Too late for 1.12. |
FWIW, the original (proprietary) code that triggered this problem can't be reproduced on 1.11.5, but the code in the playground link can.
|
Is there any update on this issue? I'm facing the same error for large nested struct types definition on |
No updates other than what's been commented here. Anonymous, cyclic interfaces continue to be troublesome. |
This might have been fixed with CL 214239. |
@randall77 Thanks, I missed that CL. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.11, darwin/amd64
What did you do?
https://play.golang.org/p/WNDetHOIGt3
If you remove
S
, it compiles just fine.Related, if only tangentially, to #26863.
The text was updated successfully, but these errors were encountered: