Handle ERROR type

This commit is contained in:
Travis Burtrum 2018-04-17 17:00:35 -04:00
parent b02e035344
commit 78f73bf494
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ public class ConvertTypeMirror extends Convertable<TypeMirror, com.sun.mirror.ty
case ANNOTATION_TYPE: case ANNOTATION_TYPE:
return (T) new ConvertAnnotationType(dt); return (T) new ConvertAnnotationType(dt);
} }
//case ERROR: case ERROR:
// return (T) new ConvertDeclaredType((javax.lang.model.type.ErrorType)from); return (T) new ConvertDeclaredType((javax.lang.model.type.ErrorType)from);
case NONE: case NONE:
case NULL: case NULL:
return null; return null;