Skip to content

Conversation

@YeesterPlus
Copy link

@YeesterPlus YeesterPlus commented Jan 15, 2026

makes it not replace templates with the same name as the block variable, and nothing else

@jmoenig
Copy link
Owner

jmoenig commented Jan 15, 2026

what is this about? Does this address / fix the issue of using this script unringified as function argument in the define block that y'all have been glossing over in the forum? If so I have questions:

  1. Why don't you write readable, explicit, verbose (using full sentences, you know) bug reports instead of posting a single picture?

  2. Why don't you even tell me here what this is about? Just issuing a PR does not help, I can't read your mind

  3. Which tests did you conduct to make sure your proposed changes don't affect any other use cases? Any?

  4. Does this change actually address all the situations, or just the first one you've stumbled upon?

  5. What's the use case you're hoping for? In other words, it seems incredibly stupid to even want to use this script inside the function arg slot of the define block. Are you just trying to fix something that happens by mistake - but it can't, right, because you have to go out of your way to unringify the function arg, so you're definitely looking for trouble when you do that -

@YeesterPlus
Copy link
Author

YeesterPlus commented Jan 15, 2026

it fixes the accidental triggering
creation pic
custom block edit pic

untitled script pic 3 image

@YeesterPlus YeesterPlus changed the title fix the template this [script] bug fix the template same name define metaprogramming bug Jan 15, 2026
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