google / google/codeworld

Constructor default name is confusing for blocks

Aperta
#294 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement funblocks
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When creating a constructor, the default name is `Constructor`. After adding this once, you end up with what initially looks like TWO blocks called `Constructor` in the toolbox: one to define a new constructor, and one for the constructor you've just defined.

One solution might be to leave the name as "Constructor" in the toolbox, but automatically rename even the first one to add a number (Constructor1) when it's placed in the workspace.

This is minor.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.