From e525353c1ce875f3b621f5e72e2a66a404e7f4ad Mon Sep 17 00:00:00 2001 From: andimarek Date: Thu, 16 Jul 2015 07:38:23 +0200 Subject: [PATCH] Bugfix TypeInfo: Missing/Wrong cleanup in leave VariableDefinition needs to cleanup the inputTypeStack and not argument Argument needs to cleanup inputTypeStack too --- src/utils/TypeInfo.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/TypeInfo.js b/src/utils/TypeInfo.js index cb44dda0e9..ff18ff1fc5 100644 --- a/src/utils/TypeInfo.js +++ b/src/utils/TypeInfo.js @@ -190,8 +190,11 @@ export default class TypeInfo { this._typeStack.pop(); break; case Kind.VARIABLE_DEFINITION: + this._inputTypeStack.pop(); + break; case Kind.ARGUMENT: this._argument = null; + this._inputTypeStack.pop(); break; case Kind.ARRAY: case Kind.OBJECT_FIELD: