Issue #81: auto-completion doesn't work for function with type parameters