-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
component: functionsissue: feature requestDescribes a new feature and why it should be addedDescribes a new feature and why it should be addedtype: question
Description
There is currently a typedef Blockly.Procedures.ProcedureBlock that says that the object has getProcedureCall, renameProcedure, and getProcedureDef.
Three questions:
- Should this be an interface instead of a typedef?
- The ways that we construct blocks doesn't allow for the interface annotation on the block definition to be reflected in the uses of that block, so we need to cast in any case. So a typedef may be more accurate.
- Should it actually be two typedefs?
ProcedureDefandProcedureCall
- Should it/they be on the
Blockly.Proceduresnamespace, or somewhere else?
Related to #4798
Metadata
Metadata
Assignees
Labels
component: functionsissue: feature requestDescribes a new feature and why it should be addedDescribes a new feature and why it should be addedtype: question