There was an error while loading. Please reload this page.
2 parents b72f8f1 + 2579ad7 commit 526cc0dCopy full SHA for 526cc0d
1 file changed
src/Fame-Rules/FameOppositeClassNotExistRule.class.st
@@ -34,6 +34,7 @@ FameOppositeClassNotExistRule class >> uniqueIdentifierName [
34
FameOppositeClassNotExistRule >> basicCheck: aMethod [
35
36
((aMethod methodClass methodNamed: aMethod selector) pragmaAt: #FMProperty:type:opposite:) ifNotNil: [ :pragma |
37
- self class environment at: (pragma argumentAt: 2) ifPresent: [ :oppositeClass | ^ true ] ].
+ self class environment at: (pragma argumentAt: 2) ifAbsent: [ :oppositeClass | ^ true ] ].
38
+
39
^ false
40
]
0 commit comments