mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-08 15:13:46 +00:00
bd081df519
Calling _reduce_node_type from GDScriptParser::_parse_block for assert was using a current class with a scope that didn't include all functions. Now calling in GDScriptParser::_check_block_types uses the right class type. We also now check the assert node message. The assert line was added to the set_errors associated with assert, since before the error would be reported on the next line