Fix resolving of all built-in types on empty nodes

Closes #157