> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 4.1.3

**`(fix):`** 修复动态代码片段中的无判别联合变体匹配，当在转换过程中添加错误时选择错误变体的问题。
匹配器现在检查是否添加了错误（通过 `errors.size() > errorsBefore`）以及现有的 `isNop` 检查，
防止为生成代码片段中的 `options` 等联合字段返回空对象。