This change adds the switch case to allow template specialization to pass through emitTopLevelDecl without issuing an error.