tidy array constructors and fix some warnings

This commit is contained in:
Dave Holoway
2020-06-10 15:11:16 +01:00
parent b175b52065
commit dd9d23c64a
4 changed files with 13 additions and 17 deletions

View File

@@ -34,6 +34,7 @@ function typeIdentList(tokens, scope, imports, typemap) {
* @param {Map<string,JavaType>} typemap
*/
function typeIdent(tokens, scope, imports, typemap) {
/** @type {JavaType[]} */
let types = [], package_name = '';
switch(tokens.current.kind) {
case 'ident':