mirror of
https://github.com/google/blockly.git
synced 2026-06-16 16:15:14 +02:00
7c619a1dba
Prevents the coder from using duplicate parameters names in functions. In the validator function check for parameter names that have been used. If it finds a block with a name that matches return null so that it will revert the change. Also change the name each time a new parameter is created to try to prevent duplicate name.