go-llvm / llgo

LLVM-based compiler for Go
Other
1.25k stars 81 forks source link

Explicitly pass the type of the operand to fr.makeInterface #143

Closed pcc closed 10 years ago

pcc commented 10 years ago

I was seeing some panics caused by makeInterface being called with the wrong type. Rather than try to fix those, I decided to take a step on the long path of removing the typ field from govalue by passing the value and its type into makeInterface separately.

axw commented 10 years ago

LGTM