Skip to content

Commit a0976e8

Browse files
committed
Merge pull request #61 from andimarek/master
Bugfix TypeInfo: Missing/Wrong cleanup in leave
2 parents f4c8b7d + e525353 commit a0976e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/TypeInfo.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,11 @@ export default class TypeInfo {
190190
this._typeStack.pop();
191191
break;
192192
case Kind.VARIABLE_DEFINITION:
193+
this._inputTypeStack.pop();
194+
break;
193195
case Kind.ARGUMENT:
194196
this._argument = null;
197+
this._inputTypeStack.pop();
195198
break;
196199
case Kind.ARRAY:
197200
case Kind.OBJECT_FIELD:

0 commit comments

Comments
 (0)