by punya.biswal:
What steps will reproduce the problem?
1. Try to create a heap with an underlying vector. (See attached source for
details).
What is the expected output? What do you see instead?
It doesn't compile because *vector.Vector isn't heap.Interface (in
particular, vector.Vector has Push(x vector.Element) and heap.Interface
wants Push(x interface { }). This is odd because vector.Element is itself
an empty interface.
What is your $GOOS? $GOARCH?
GOOS=linux
GOARCH=amd64
Which revision are you sync'ed to? (hg log -l 1)
3975:b51f...
Please provide any additional information below.
Attachments:
- element.go (236 bytes)