We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0dbd63 commit b8523aeCopy full SHA for b8523ae
robotcode/language_server/robotframework/diagnostics/entities.py
@@ -179,11 +179,9 @@ class VariableDefinition(SourceEntity):
179
value: Any = field(default=None, compare=False)
180
value_is_native: bool = field(default=False, compare=False)
181
182
- __matcher: Optional[VariableMatcher] = None
183
-
184
@property
185
def matcher(self) -> VariableMatcher:
186
- if self.__matcher is None:
+ if not hasattr(self, "__matcher"):
187
self.__matcher = VariableMatcher(self.name)
188
return self.__matcher
189
0 commit comments