Files
Nim/tests/destructor
ringabout cd3cf3a20e fixes #23524; global variables cannot be analysed when injecting move (#23529)
fixes #23524

```nim
proc isAnalysableFieldAccess*(orig: PNode; owner: PSym): bool =
  ...
  result = n.kind == nkSym and n.sym.owner == owner and
    {sfGlobal, sfThread, sfCursor} * n.sym.flags == {} and
    (n.sym.kind != skParam or isSinkParam(n.sym))
```
In `isAnalysableFieldAccess`, globals, cursors are already rejected
2024-04-24 12:47:05 +02:00
..
2021-03-09 22:50:17 -08:00
2022-10-01 16:46:51 +02:00
2020-01-20 10:41:12 +01:00
2020-09-25 08:49:21 +02:00
2023-06-02 16:03:32 +02:00
2022-10-01 16:46:51 +02:00
2019-03-04 22:44:23 +01:00
2019-11-29 19:46:21 +01:00
2020-05-02 22:31:19 +02:00
2019-07-07 17:17:14 +02:00
2020-11-09 19:24:32 +01:00
2020-04-01 20:30:28 +02:00
2020-06-28 17:47:47 +02:00
2020-03-10 00:52:46 +01:00
2020-07-09 17:24:23 +02:00
2023-06-02 16:03:32 +02:00
2021-03-23 16:30:49 +01:00
2019-04-25 07:59:34 +02:00
2019-05-27 21:29:02 +02:00
2022-07-06 13:06:41 +02:00
2020-03-17 16:36:38 +01:00