mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 09:59:25 +00:00
updated validation to use new JavaTypes module instead of MTIs
This commit is contained in:
@@ -24,6 +24,7 @@ function checkMethodParseErrors(method, probs) {
|
||||
*/
|
||||
module.exports = function(mod) {
|
||||
const probs = [];
|
||||
mod.parseErrors.forEach(err => probs.push(ParseProblem.Error(err, `Invalid, incomplete or unsupported declaration`)));
|
||||
mod.types.forEach(type => checkTypeParseErrors(type, probs));
|
||||
return probs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user