nsf/gocode — pull request #227 by DisposaBoy (2014-04-26 15:35:13+00:00)
Title: Fix panic on invalid input

gocode panics if you try completion of a field of a struct that embeds a type that gocode cannot resolve (for whatever reason).
The check in `find_child_and_in_embedded` seemed like the best place as opposed to checking for nil everywhere it's called. I guess the same issue potentially exists in `find_child` but I couldn't reproduce any issues there, so I left it as-is.