mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Revert "GDScript: Add warnings that are set to error by default"
This reverts commit a166833bfa
.
This caused multiple regressions.
Needs to be redone with more testing before merge.
Fixes #72501.
This commit is contained in:
parent
f7397a5ac6
commit
afe3b94ab2
18 changed files with 57 additions and 313 deletions
|
@ -297,9 +297,7 @@ public:
|
|||
int leftmost_column = 0, rightmost_column = 0;
|
||||
Node *next = nullptr;
|
||||
List<AnnotationNode *> annotations;
|
||||
#ifdef DEBUG_ENABLED
|
||||
Vector<GDScriptWarning::Code> ignored_warnings;
|
||||
#endif
|
||||
Vector<uint32_t> ignored_warnings;
|
||||
|
||||
DataType datatype;
|
||||
|
||||
|
@ -331,10 +329,8 @@ public:
|
|||
|
||||
AnnotationInfo *info = nullptr;
|
||||
PropertyInfo export_info;
|
||||
bool is_resolved = false;
|
||||
bool is_applied = false;
|
||||
|
||||
bool apply(GDScriptParser *p_this, Node *p_target);
|
||||
bool apply(GDScriptParser *p_this, Node *p_target) const;
|
||||
bool applies_to(uint32_t p_target_kinds) const;
|
||||
|
||||
AnnotationNode() {
|
||||
|
@ -1267,7 +1263,8 @@ private:
|
|||
#ifdef DEBUG_ENABLED
|
||||
bool is_ignoring_warnings = false;
|
||||
List<GDScriptWarning> warnings;
|
||||
HashSet<GDScriptWarning::Code> ignored_warnings;
|
||||
HashSet<String> ignored_warnings;
|
||||
HashSet<uint32_t> ignored_warning_codes;
|
||||
HashSet<int> unsafe_lines;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue