-
-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
bugc: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScript
Description
Following code:
#[derive(GodotClass)]
#[class(init, base = Node)]
struct MyClass {
base: Base<Node>,
}
#[godot_api]
impl INode for MyClass {
#[func(gd_self)]
fn physics_process(_this: Gd<Self>) {
}
#[func(gd_self)]
fn process(_this: Gd<Self>, _delta: i32) {}
}Compiles without any errors (this is bad). We should figure out some way to validate virtual methods with gd_self as well.
Metadata
Metadata
Assignees
Labels
bugc: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScript