You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix many asan and ubsan reported issues
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
This commit is contained in:
@@ -615,6 +615,9 @@ static GDScriptCompletionIdentifier _type_from_gdtype(const GDScriptDataType &p_
|
||||
ci.type.script_type = p_gdtype.script_type;
|
||||
|
||||
switch (p_gdtype.kind) {
|
||||
case GDScriptDataType::UNINITIALIZED: {
|
||||
ERR_EXPLAIN("Uninitialized completion. Please report a bug.");
|
||||
} break;
|
||||
case GDScriptDataType::BUILTIN: {
|
||||
ci.type.kind = GDScriptParser::DataType::BUILTIN;
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user