Commit 5609350
Fix issue handling function with decorator
Summary:
Add support to handle function with decorators that hit validation errors.
**Root cause:** If the function contains decorators, the getabsfile will return the decorator function filepath.
**Fix**: Add an unwrap before we getabsfile, this could lead to right filepath.
Differential Revision: D821325561 parent 3bb8b40 commit 5609350
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
0 commit comments