Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Fails to generate mono bindings #3

Closed
Xrayez opened this issue May 31, 2020 · 2 comments
Closed

Fails to generate mono bindings #3

Xrayez opened this issue May 31, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Xrayez
Copy link
Owner

Xrayez commented May 31, 2020

Module and Godot Engine versions:
c8d396c, Godot 3.2.

OS/device including version:
Windows 10.

Issue description:
Casting enum with the module_bind namespace scope makes it append to documentation (while regenerating the docs):

namespace_refactor_enum_issue

Which makes the --generate-mono-glue modules/mono/glue fail:

Generating GeometryInstance.cs...
Generating GeometryTools2D.cs...
ERROR: BindingsGenerator::bbcode_to_xml: Cannot resolve enum reference in documentation: 'PolyDecompType'.
   At: modules\mono\editor\bindings_generator.cpp:377
Generating Gradient.cs...
Generating GradientTexture.cs...
Generating GraphEdit.cs...

Steps to reproduce:
Compile the module while following Compiling for Mono docs.

@Xrayez Xrayez added the bug Something isn't working label May 31, 2020
@Xrayez
Copy link
Owner Author

Xrayez commented May 31, 2020

The solution is reverting c8d396c, but I wouldn't really want to do this given there are other bugs associated with classes having an underscore.

@Xrayez
Copy link
Owner Author

Xrayez commented Jun 5, 2020

This is still an issue, but given that this module is now deprecated and merged as part of Goost (with the suggested revert), it can be closed.

@Xrayez Xrayez closed this as completed Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant