Replies: 2 comments
-
Functions must also be marked |
Beta Was this translation helpful? Give feedback.
-
Hi @rockyev, @jshier is correct. You must make your helpers Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! |
Beta Was this translation helpful? Give feedback.
-
We are trying to integrate
reportIssue
directly into our logging system so that anytime an error message is logged,reportIssue
is also called. However, even though we are explicitly passing file location metadata (fileID
,filePath
,line
,column
), the runtime warning still appears on the line wherereportIssue
is called, rather than the location that is passed through (where the actual error would be).Is this a bug, or just a known limitation? I've noticed that by passing the location through, I can see the warning listed with the correct location on the left side of my Xcode, but the warning itself still appears on the line where
reportIssue
is called. See my screenshot below, which shows the runtime warning onreportIssue
, but the location being passed through is pointing to a different file entirely.Steps to Reproduce
fileID
,filePath
,line
, andcolumn
.reportIssue
line instead of where the function was called, despite the location being passed in toreportIssue
.Beta Was this translation helpful? Give feedback.
All reactions