You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:
Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
install it and retry what you did to reproduce the problem.
Thanks.
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Create 2 Lists, l1 and l2, and insert 2 elements in each list
2. Remove the element e that is belong to l1 from l2
3. Then, l1.InsertBefore(8, e), it can not work, because of e.list is nil when Remove it
from l2
4. My Test code at: http://play.golang.org/p/MwAFxq-4x4
What is the expected output?
What do you see instead?
Insert follow code in Remove method:
if e.list != l {
return
}
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
Windows 7
Which version are you using? (run 'go version')
1.0.2
Please provide any additional information below.
by karlcpp:
Attachments:
The text was updated successfully, but these errors were encountered: