You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 4.0 beta 1, functions that have a return value and are ignored when called do not incur a return_value_discarded warning. This is a regression from 3.5 in which a return_value_discarded warning happens.
Steps to reproduce
Call any method that has a return value and ignore the return value.
You will not see any warning.
Godot version
4.0 beta 1
System information
Windows 10
Issue description
In 4.0 beta 1, functions that have a return value and are ignored when called do not incur a return_value_discarded warning. This is a regression from 3.5 in which a return_value_discarded warning happens.
Steps to reproduce
Call any method that has a return value and ignore the return value.
You will not see any warning.
Minimal reproduction project
ReturnValueDiscardedBug3.5.zip
ReturnValueDiscardedBug4.0.zip
The text was updated successfully, but these errors were encountered: