Commit 60800e1
authored
Diagnostics: improve error message at attr diagnosis failure
Used to just crash:
> Assertion failed: (loc.isValid() && "Diagnosing attribute with invalid
location"), function diagnoseAndRemoveAttr
but now includes at least information what attribute caused the crash:
> Attribute '@actorIndependent ' has invalid location, failed to
diagnose!
Assertion failed: (false && "Diagnosing attribute with invalid
location"), function diagnoseAndRemoveAttr1 parent e5800f1 commit 60800e1
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments