add implicit enum methods values() and valueOf()

This commit is contained in:
Dave Holoway
2020-06-22 15:47:26 +01:00
parent fbb275600a
commit 4f0e55a909
5 changed files with 54 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ function checkOverrides(source_type, probs) {
/** @type {{ann:SourceAnnotation, method:Method, method_id:string}[]} */
const overriden_methods = [];
source_type.methods.reduce((arr, method) => {
source_type.sourceMethods.reduce((arr, method) => {
const ann = method.annotations.find(a => a.type.simpleTypeName === 'Override');
if (ann) {
arr.push({