-// Generated by LiveScript 1.4.0
+// Generated by LiveScript 1.6.0
(function(){
var identifierRegex, tokenRegex;
identifierRegex = /[\$\w]+/;
}
}
function consumeTypes(tokens){
- var lookahead, types, typesSoFar, typeObj, type;
+ var lookahead, types, typesSoFar, typeObj, type, structure;
if ('::' === peek(tokens)) {
throw new Error("No comment before comment separator '::' found.");
}
};
}
for (;;) {
- typeObj = consumeType(tokens), type = typeObj.type;
+ typeObj = consumeType(tokens), type = typeObj.type, structure = typeObj.structure;
if (!typesSoFar[type]) {
types.push(typeObj);
}
- typesSoFar[type] = true;
+ if (structure == null) {
+ typesSoFar[type] = true;
+ }
if (!maybeConsumeOp(tokens, '|')) {
break;
}