]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: be more tolerant with recursive types when checking map types.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 3 Apr 2013 06:18:30 +0000 (08:18 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 3 Apr 2013 06:18:30 +0000 (08:18 +0200)
commit4b6ca212715b7aa66930bc9c3f1e46b096f5f383
tree89146a3c9cf351f19ca5c3a65f26daff085dc87c
parentb34f0551387fcf043d65cd7d96a0214956578f94
cmd/gc: be more tolerant with recursive types when checking map types.

A nested TFORW type would push algtype1 into an impossible case.

Fixes #5125.

R=golang-dev, daniel.morsing
CC=golang-dev
https://golang.org/cl/8213043
src/cmd/gc/subr.c
test/fixedbugs/issue5125.dir/bug.go [new file with mode: 0644]
test/fixedbugs/issue5125.dir/main.go [new file with mode: 0644]
test/fixedbugs/issue5125.go [new file with mode: 0644]