Skip to content

Commit

Permalink
Merge pull request #13170 from MarcusDenker/speedup-testNoShadowedVar…
Browse files Browse the repository at this point in the history
…iablesInMethods

speedup-testNoShadowedVariablesInMethods
  • Loading branch information
MarcusDenker committed Mar 28, 2023
2 parents e4c0232 + 4fb81b6 commit 0341227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReleaseTests/ReleaseTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ ReleaseTest >> testNoSentNotImplementedSelectors [
ReleaseTest >> testNoShadowedVariablesInMethods [
"Fail if there are methods who define shadowed temps or args"
| found validExceptions remaining |
found := SystemNavigation default allMethodsSelect: [ :m |
found := SystemNavigation default methods select: [ :m |
m ast variableDefinitionNodes anySatisfy: [ :node | node variable isShadowing ] ].
"Make sure to not waste memory with all the ASTs"
ASTCache reset.
Expand Down

0 comments on commit 0341227

Please sign in to comment.