GD0303.rst 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. GD0303: The parent symbol of a type argument that must be Variant compatible was not handled
  2. ============================================================================================
  3. ==================================== ======================================
  4. Value
  5. ==================================== ======================================
  6. **Rule ID** GD0303
  7. **Category** Usage
  8. **Fix is breaking or non-breaking** Not fixable
  9. **Enabled by default** Yes
  10. ==================================== ======================================
  11. Cause
  12. -----
  13. This is a bug in the engine and must be reported.
  14. Rule description
  15. ----------------
  16. The ``MustBeVariantAnalyzer`` has found an unhandled case in the user source
  17. code. Please, open an `issue <https://github.com/godotengine/godot/issues>`_
  18. and attach a minimal reproduction project so it can be fixed.
  19. How to fix violations
  20. ---------------------
  21. Violations of this rule can't be fixed.
  22. When to suppress warnings
  23. -------------------------
  24. Suppressing a warning from this rule may result in unexpected errors, since the
  25. case found by the analyzer may need to be handled by the user to prevent
  26. types that are not Variant-compatible from reaching the engine. Attempting to
  27. marshal incompatible types will result in runtime errors.