Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to call Dictionary.erase() in VisualScript due to missing white arrows #37478

Closed
aaronfranke opened this issue Mar 31, 2020 · 2 comments
Closed

Comments

@aaronfranke
Copy link
Member

aaronfranke commented Mar 31, 2020

Godot version: 3.2.1

Issue description: Dictionary.erase() is missing white arrows, so there's no way to execute this method in VisualScript unless you want to use the return boolean somewhere.

I think that the white arrows aren't present because this method returns a value, but for this method, I don't care about the boolean value it returns. I want something equivalent to this in GDScript:

if condition:
	dict.erase()

Steps to reproduce: Add Dictionary.erase() in VisualScript and notice there's no way to run it.

Minimal reproduction project: https://github.com/aaronfranke/godot-demo-projects/tree/fully-visual-touch and see godotengine/godot-demo-projects#280

@Calinou
Copy link
Member

Calinou commented Apr 1, 2020

Is this a duplicate of #37477?

@aaronfranke
Copy link
Member Author

Yes, we opened them at the same time.

@aaronfranke aaronfranke closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants