allow `--display File.hx@0@resolve@TypeName` (see #2996)