Pham Huy Hoang
f5573fba3d
fix: Remove nested for_each_tree in TSTreeView ( #26328 )
...
Problem:
`LanguageTree:for_each_tree` calls itself for child nodes, so when we
calls `for_each_tree` inside `for_each_tree`, this quickly leads to
exponential tree calls.
Solution:
Use `pairs(child:trees())` directly in this case, as we don't need the
extra callback for each children, this is already handled from the outer
`for_each_tree` call
2023-11-30 10:37:42 -06:00
..
2023-11-29 20:32:40 +08:00
2023-11-26 00:41:59 +01:00
2023-09-20 13:42:41 +01:00
2023-11-27 08:23:04 -08:00
2023-11-30 10:37:42 -06:00
2023-11-16 19:52:22 -06:00
2023-11-29 09:43:11 -06:00
2023-11-27 09:09:21 +00:00
2023-11-16 11:35:54 -06:00
2023-07-18 15:42:30 +01:00
2023-10-21 08:51:26 +02:00
2023-09-24 21:39:59 -07:00
2023-09-05 17:10:04 +01:00
2023-11-21 17:46:19 +01:00
2023-10-27 08:17:46 -05:00
2023-09-14 08:23:01 -05:00
2023-11-28 07:58:31 +08:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2023-06-06 08:42:26 -07:00
2023-09-14 08:23:01 -05:00
2022-08-23 13:02:55 +02:00
2023-11-25 06:35:31 -08:00
2023-09-23 23:46:45 +01:00
2023-08-09 11:06:13 +02:00
2023-11-12 04:54:27 -08:00
2023-09-04 22:42:47 +02:00
2023-09-23 23:46:45 +01:00
2023-09-20 04:15:23 -07:00
2023-11-17 17:10:27 +01:00
2023-11-29 09:49:44 -06:00
2023-11-16 11:35:54 -06:00
2023-11-04 14:55:44 +01:00
2023-09-14 08:23:01 -05:00
2023-09-23 23:46:45 +01:00
2023-09-14 08:23:01 -05:00
2023-09-08 21:05:35 +08:00