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

Fix CodeBlock of handle CodeBlock args wrong #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

1 participant