This works around issues with source that cannot be parsed when looking for a line containing `def` so as to get the correct line info for use in DebugInfo emission. It adds tests for this and also the case where the function source is simply unobtainable. Fixes numba#7730
esc previously requested changes Jan 26, 2022
esc
self-assigned this
esc previously approved these changes Jan 26, 2022
esc approved these changes Jan 26, 2022
esc pushed a commit to esc/numba that referenced this pull request
Jan 27, 2022esc pushed a commit to esc/numba that referenced this pull request
Jan 27, 2022