mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
update comment with todo
This commit is contained in:
@@ -402,7 +402,7 @@ Blockly.Block.prototype.unplugFromStack_ = function(opt_healStack) {
|
||||
// Disconnect the next statement.
|
||||
var nextTarget = this.nextConnection.targetConnection;
|
||||
nextTarget.disconnect();
|
||||
// Shouldn't checkType happen earlier?
|
||||
// TODO (#1994): Check types before unplugging.
|
||||
if (previousTarget && previousTarget.checkType_(nextTarget)) {
|
||||
// Attach the next statement to the previous statement.
|
||||
previousTarget.connect(nextTarget);
|
||||
|
||||
Reference in New Issue
Block a user