Skip to content

Conversation

@Legion2
Copy link

@Legion2 Legion2 commented Oct 19, 2023

If CodeBlock is added to other CodeBlock via %L template parameter, toString() is used on the first CodeBlock and then added to second CodeBlock, this makes it impossible for the second code block to know the used symbols and imports required by the first CodeBlock und they are not imported in the file when rendered with FileSpec. In the CodeWriter the %L is handled correctly, however the CodeBlock arguments are converted to strings in CodeBlock already.

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.

1 participant