GD0303:必须与变体兼容的类型参数的父符号未被处理

规则 ID

GD0303

类别

用法

修复是破坏性的还是非破坏性的

不可修复

默认启用

原因

该错误为引擎内部 bug,应当上报。

规则说明

MustBeVariantAnalyzer 在用户源代码中发现了一个未被处理的案例。请打开一个 issue 并附上一个最小的可重现项目,以便修复它。

如何解决违规情况

违反该规则的情况无法被修复。

何时抑制警告

Suppressing a warning from this rule may result in unexpected errors, since the case found by the analyzer may need to be handled by the user to prevent types that are not Variant-compatible from reaching the engine. Attempting to marshal incompatible types will result in runtime errors.