Determine if a cast would be legitimate in order to handle the
special cases where a numeric declared var is assigned a type larger
than it can handle.
Return an array containing a string element of the maximum
unambiguous namespace completion or, if there is no common prefix,
return the list of ambiguous names.