You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result of the attribute wrapped as a Result or modifies underlying value.
1320
1338
"""
1339
+
ifnameinATTRIBUTES_MISTAKES:
1340
+
self.add_Err_msg(
1341
+
f"Result.{name} is a possible case mistake. Did you mean Result.{ATTRIBUTES_MISTAKES[name]} instead? Or did you forget () on a method or put () on an attrib. If Ok(x.{name}) is what you want, then do Ok(x).expect().{name}",
1342
+
self.error_code("Attribute"),
1343
+
)
1344
+
returnself
1345
+
1321
1346
ifnameinEXCLUDE_ATTRIBUTES:
1322
1347
self.add_Err_msg(
1323
1348
f"{name} is an excluded attribute/method. Did you forget () on a method or put () on an attrib. If Ok(x.{name}) is what you want, then do Ok(x).expect().{name}",
0 commit comments