godotengine / godotengine/godot-docs

Callable missing "call" in example code?

Open
#6,808 4 comments 0 reactions 0 assignees View on GitHub
area:manual bug topic:gdscript
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

3.5.1

apologies if this has already been reported but i couldn't find it in a couple of searches
i feel that the code
`var plus_one = map(my_array, add1)`
is missing ".call", i think it should be
`var plus_one = map.call(my_array, add1)`

but again, i could be wrong. i am trying very hard to absorb the material, going through it for the first time

https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.