nelsam / hel

Hel rules over Helheim, where the souls unworthy of Valhalla reside. It's also a mock generator for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong Package Selector for Inputs/Outputs

nelsam opened this issue · comments

The package selector for inputs/outputs is wrong for functions/methods returning types from other packages.

I think this should be a fairly uncommon occurrence, but it's sometimes unavoidable.

I should note: this only happens when an embedded interface type is imported from another package.

Still a bit of a problem. Working out the kinks gradually.

And fixed. The last problem had to do with recursing into parameters that were, themselves, functions, and could contain params or results of local types.