fix type checking of field and method declarations

This commit is contained in:
Dave Holoway
2020-06-11 15:50:55 +01:00
parent c454753385
commit 974ec93841
3 changed files with 26 additions and 19 deletions

View File

@@ -30,10 +30,10 @@ class AnyType extends JavaType {
*/
constructor(label) {
super("class", [], '');
super.simpleTypeName = label;
super.simpleTypeName = label || '<unknown type>';
}
static Instance = new AnyType('<unknown type>');
static Instance = new AnyType('');
get rawTypeSignature() {
return 'U';