fix: Fix order of arguments in `IVariableMap.createVariable()`. by gonfunko · Pull Request #9231 · RaspberryPiFoundation/blockly
The basics
The details
Resolves
Fixes #9218
Proposed Changes
This PR flips the names of the second and third arguments to IVariableMap.createVariable() to reflect the ordering used in the built-in VariableMap class.
NOT-QUITE-BREAKING CHANGE
This PR changes the API, but (a) the previous interface was incorrect relative to the actual implementation provided, and the types of the arguments did not change. As a result, this will not result in build failures, but if you were using the old argument order your code wasn't doing what you intended.