Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ensure_tvariantequals #116

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

E-Fir
Copy link
Member

@E-Fir E-Fir commented Nov 10, 2022

No description provided.

lua-nucleo/ensure.lua Outdated Show resolved Hide resolved
lua-nucleo/ensure.lua Outdated Show resolved Hide resolved
-- }
-- )
--
-- -- will throw the error:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

похоже на то, копипаста, исправил по всех местах отдельным коммитом

lua-nucleo/ensure.lua Outdated Show resolved Hide resolved
lua-nucleo/ensure.lua Outdated Show resolved Hide resolved
@@ -49,6 +51,13 @@ local ordered_pairs
'ordered_pairs'
}

local newproxy = newproxy or select(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ой, почему так?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это какой-то стандартный способ подключения newproxy, который используется везде. Насколько могу вспонить, это утверждённый способ подключения newproxy в lua-nucleo, чтобы не было жёсткой зависимости.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а зачем оно раскопировано везде, а не в модуле сидит?

@E-Fir E-Fir force-pushed the avr/9644/add-ensure_tvariantequals branch from 7948ab2 to 195c05c Compare November 11, 2022 13:24
@E-Fir E-Fir force-pushed the avr/9644/add-ensure_tvariantequals branch from 195c05c to 3a2f767 Compare November 11, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants