You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can rename function in Makecode. When I do so, I do not see new function in the list of "calls" for function, I see old name. It is a bug in the Makecode editor.
DEMO:
Create block for custom function test1. Create block for custom function test2.
Check the list of available functions in Advanced/Functions, you should see test1 and test2.
Rename function 'test2' to something else, maybe test3.
Check the list of available functions in Advanced/Functions, you should see test1 and test3 but you will see test1 and test2. The BUG
To call function test3 I have to click on function definition and select Create "call test3"
When I use test2 block from the list, it really calls test2 but such definition is not on the desk...
It seems that once projecty is reopned, list of functions are updated, so you cannot see the issue in the example above. When I saved project there were functions test1 and test2 but when I open shared project, I see functions test1 and test3, that is expected... Anyway, you can rename function test3 to test4 and you will see the issue again... ;-)
The text was updated successfully, but these errors were encountered:
Using https://makecode.com/playground I can see that this problem only exists for some targets: micro:bit, Minecraft, Calliope Mini. So https://arcade.makecode.com/#editor doesn't have this issue, for example. I set up Arcade locally and in that case I do have the issue. Is there something different about the production Arcade configuration than what I have for my local version?
I can rename function in Makecode. When I do so, I do not see new function in the list of "calls" for function, I see old name. It is a bug in the Makecode editor.
DEMO:
test1
. Create block for custom functiontest2
.test1
andtest2
.test3
.test1
andtest3
but you will seetest1
andtest2
. The BUGTo call function
test3
I have to click on function definition and selectCreate "call test3"
When I use
test2
block from the list, it really callstest2
but such definition is not on the desk...DEMO in Makecode editor
It seems that once projecty is reopned, list of functions are updated, so you cannot see the issue in the example above. When I saved project there were functions
test1
andtest2
but when I open shared project, I see functionstest1
andtest3
, that is expected... Anyway, you can rename functiontest3
totest4
and you will see the issue again... ;-)The text was updated successfully, but these errors were encountered: