Skip to content

Conversation

@fliiiix
Copy link
Contributor

@fliiiix fliiiix commented Nov 28, 2025

This tried to generate from a directories "MyGame/Sample/" for a empty path_ in M, MyGame & MyGame/Sample.
Which is incorrect since we want to start with the first kPathSeparator / and not position 1.

Fixes #8787

In the future i want to address the issue that the Save does just silently ignore the wrong path.

This tried to generate from a directories "MyGame/Sample/"
for a empty path_ in M, MyGame & MyGame/Sample.
Which is incorrect since we want to start with the first
kPathSeparator `/` and not position 1.
@github-actions github-actions bot added c++ codegen Involving generating code from schema python labels Nov 28, 2025
@fliiiix
Copy link
Contributor Author

fliiiix commented Nov 28, 2025

Here is a godbolt to play with it -> https://godbolt.org/z/1ab9Wv3P1

@jtdavis777 jtdavis777 self-assigned this Nov 28, 2025
@jtdavis777 jtdavis777 enabled auto-merge (squash) November 30, 2025 23:27
@jtdavis777 jtdavis777 merged commit 49d2db9 into google:master Nov 30, 2025
50 checks passed
@fliiiix fliiiix deleted the bugfix/fix-wrong-for-loop branch December 1, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python generator tries to write to an invalid path

2 participants