Fixed missing cleanup in TypeInfo::leave

This commit is contained in:
vladar 2015-07-16 15:16:27 +06:00
parent a881d15e6b
commit b2b08f2a07

View File

@ -258,7 +258,11 @@ class TypeInfo
array_pop($this->_typeStack); array_pop($this->_typeStack);
break; break;
case Node::VARIABLE_DEFINITION: case Node::VARIABLE_DEFINITION:
array_pop($this->_inputTypeStack);
break;
case Node::ARGUMENT: case Node::ARGUMENT:
array_pop($this->_inputTypeStack);
break;
case Node::DIRECTIVE: case Node::DIRECTIVE:
case Node::ARR: case Node::ARR:
case Node::OBJECT_FIELD: case Node::OBJECT_FIELD: