bug_ref_fn
Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
| bug_ref_fn [2025/12/15 11:27] – snegovick | bug_ref_fn [2025/12/15 11:29] (текущий) – [Workaround] snegovick | ||
|---|---|---|---|
| Строка 86: | Строка 86: | ||
| ====== Workaround ====== | ====== Workaround ====== | ||
| - | Объявление функции в блоке "модуль" | + | Добавление |
| - | + | ||
| - | Добавляем empty в декларацию модуля: | + | |
| < | < | ||
| Строка 98: | Строка 96: | ||
| </ | </ | ||
| - | Lets check libinterp/ | + | Lets check libinterp/ |
| [ for(l = m->ext; l->name; l++)](https:// | [ for(l = m->ext; l->name; l++)](https:// | ||
| - | iterates over < | + | iterates over init and empty. |
| - | When you add < | + | When you add empty to module definition explicitly, then this loop only makes single iteration with init. |
| Limbo does not have anonymous functions (lambdas) as far as I know, so this issue just leads to inconvenience of declaration of functions you normally would prefer not to declare. | Limbo does not have anonymous functions (lambdas) as far as I know, so this issue just leads to inconvenience of declaration of functions you normally would prefer not to declare. | ||
bug_ref_fn.1765798052.txt.gz · Последнее изменение: — snegovick
