Closed
Description
[edit: This is now the umbrella issue for work on alias declarations. This includes parameterized alias declarations; see issue #46477. It also includes proper names for aliases in error messages.]
The original fix for #18640 was only partially correct. However, removing that incorrect code leads to another cycle related issue for the test case:
type (
e = f
f = g
g = []h
h i
i = j
j = e
)
Left the original, partially correct code in place for now as it's not wrong, it just doesn't cover the expected cases and it appears to circumvent this issue.
Marking for 1.11 if we get to it but it's not a showstopper.
Commented out this test case in test/fixedbugs/issue18640.go for now.