Since fairly recently, code like \DeclareMathOperator{\Op}{\mathbf{OB}} fails with: `! Undefined control sequence.
\math@bgroup
\cs_if_eq:cNF {M@\f@encoding }\M@TU {\M@TU }\__um_switchto_literal`
## Check/indicate
- [X] Relevant for XeTeX
- [X] Relevant for LuaTeX
- [X] Issue tracker has been searched for similar issues?
- [ ] Links to discussion if appropriate
## Minimal example demonstrating the issue
```
\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\DeclareMathOperator{\Op}{\mathbf{OB}}
\begin{document}
$\Op$
\end{document}
```
## Further details
I'm using TeXLive 2017 on Debian Sid but I have one collaborator who noticed the issue and seems to be using Ubuntu 16.04.
Description
Since fairly recently, code like
\DeclareMathOperator{\Op}{\mathbf{OB}}
fails with: `! Undefined control sequence.