Skip to content

Add RuntimeSameFileExportBase class and improve runtime tests - #32

Merged
moluopro merged 6 commits into
godothub:mainfrom
JustDooooIt:main
Sep 15, 2026
Merged

moluopro merged 6 commits into
godothub:mainfrom
JustDooooIt:main

Conversation

@JustDooooIt

Copy link
Copy Markdown
Collaborator

No description provided.

The declaration generator still emits the global Signal function. Require that declaration so the integrity check matches the generated API.
Keep this PR focused on exported-property inheritance by retaining the existing Object::cast_to entry point. Both casting variants pass the available runtime checks; a separate correctness or performance benefit for replacing it has not been established.
Reuse the full property parser for same-file parents and merge each parent before inheriting into its child. Preserve export hints, static exports, interface array schemas, and Inspector groups while respecting child overrides.

Resolve inherited defaults separately from property descriptors, honor child field initializers, and avoid stale ancestor defaults for opaque initializers. Match the Export decorator by name without collecting parent methods, signals, or RPC metadata.
Exercise ordinary and abstract parents across files, decorator hints, static exports, override precedence, and metadata-only overrides through the Godot test runner.

Cover opaque and object field initializers, interface groups and array schemas, and decorators whose names merely start with Export.
@moluopro
moluopro merged commit 094a23e into godothub:main Sep 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants