Tokenizer is not contextual with `@specialize`

@specialize itself will unconditionally replace tokens of the given type with the specialized token. What may work for you is to have a different SimpleString-like token that you use for the specializations, and make sure that is never used in a context where SimpleString is also valid.

1 Like