Skip to content

Commit

Permalink
fixed files form Closure #109
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 579650d commit 727dc8e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,11 @@ private Node parseTypeExpression(JsDocToken token) {
* For expressions on the right hand side of a this: or new:
*/
private Node parseContextTypeExpression(JsDocToken token) {
return parseTypeName(token);
if (token == JsDocToken.QMARK) {
return newNode(Token.QMARK);
} else {
return parseBasicTypeExpression(token);
}
}

/**
Expand Down

0 comments on commit 727dc8e

Please sign in to comment.