Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

GD0303: The parent symbol of a type argument that must be Variant compatible was not handled

规则 ID

GD0303

类别

用法

修复是中断修复还是非中断修复

不可修复

默认启用

原因

This is a bug in the engine and must be reported.

规则说明

The MustBeVariantAnalyzer has found an unhandled case in the user source code. Please, open an issue and attach a minimal reproduction project so it can be fixed.

如何解决冲突

Violations of this rule can't be fixed.

何时禁止显示警告

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.