mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
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.