Move GDSript annotation application after type-checking
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values.
This commit is contained in:
parent
655a913e22
commit
577a17980d
6 changed files with 126 additions and 135 deletions
|
|
@ -1369,6 +1369,7 @@ public:
|
|||
ClassNode *get_tree() const { return head; }
|
||||
bool is_tool() const { return _is_tool; }
|
||||
static Variant::Type get_builtin_type(const StringName &p_type);
|
||||
static StringName get_real_class_name(const StringName &p_source);
|
||||
|
||||
CompletionContext get_completion_context() const { return completion_context; }
|
||||
CompletionCall get_completion_call() const { return completion_call; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue