Can't create a new Class method in GP blocks IDE

Issue #108 resolved
Spiralo-Idioïde created an issue

Hello with other GP blocks modders we began to import the changes of GP we can find in this repositories. While testing it I encountered an error when trying to create a new method for a class.

The bug was easy to solve by looking at the old versions of the recordBlockSpec method. The problem is that the last block was changed, in the old version of the method it was using the atPut method :

I don’t know if this change was here for something and if it might break anything to revert to the old method.

Also, even if we all know that GP is no longer in active development, I think all the very little GP and GP modding community would like to have you sometimes on the forum and having your point of view on the mods we are making. And maybe if possible sometimes releasing updates when you make changes to the VM.

Well thanks for reading this and I hope we might see you on the forum .

Comments (4)

  1. John Maloney repo owner

    Block specs are handled a bit differently in MicroBlocks due to a different project structure. Without looking at the code in detail, I think a better fix would be to implement “recordBlockSpec” in the Project class in GP.

    Good luck!

  2. Log in to comment