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

$mol_view_tre2_to_dts fix idempotency, this? fix #714

Merged
merged 3 commits into from
Nov 14, 2024
Merged

Conversation

zerkalica
Copy link
Collaborator

No description provided.

@zerkalica zerkalica enabled auto-merge November 14, 2024 16:05
@@ -87,7 +87,7 @@ namespace $ {

function type_enforce(this: $, name: $mol_tree2, a: readonly $mol_tree2[], b: readonly $mol_tree2[]) {
return name.struct('line', [
name.data(`type ${ name.value.replace(/<.*>/g, '') }__${ this.$mol_guid() } = $mol_type_enforce<` ),
name.data(`type ${ name.value.replace(/<.*>/g, '') } = $mol_type_enforce<` ),
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
Collaborator Author

Choose a reason for hiding this comment

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

да, я вынес составление уникального имени в места вызова

@zerkalica zerkalica merged commit 4ef5c07 into master Nov 14, 2024
20 checks passed
@zerkalica zerkalica deleted the fix-tree branch November 14, 2024 22:56
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.

2 participants