author | Claus Gittinger <cg@exept.de> |
Sun, 16 Jul 2017 14:34:20 +0200 | |
changeset 4168 | 82b9675da2d7 |
parent 4167 | 7809dfa8558d |
child 4169 | a5c8df72bfca |
--- a/Parser.st Sun Jul 16 14:05:03 2017 +0200 +++ b/Parser.st Sun Jul 16 14:34:20 2017 +0200 @@ -5898,12 +5898,14 @@ self hasPrimitiveCode ifFalse:[ self checkUnusedMethodVars. ]. - self checkReturnedValues. + ((annotations ? #()) contains:[:a | a key == LintRuleIgnoreAnnotation key]) ifFalse:[ + self checkReturnedValues. + ] ] ]. ^ stats - "Modified: / 20-11-2006 / 14:04:24 / cg" + "Modified: / 16-07-2017 / 13:38:37 / cg" ! parseMethodBodyOrEmpty