Closed vsajip closed 4 months ago
It was the result of some mucking around in the Token.java.ftl
template that I had been doing. There was a bug, which I think is now fixed. Code generation for the other languages did not have the problem because the latest changes in Token.java.ftl
are not reflected (yet) in the equivalent templates.
Oh, and I mistakenly wrote "fix to #93" instead of #193 in the commit comment, so that is not shown here.
But, anyway, I think it's okay now.
Following the updates to f-string parsing, there are some errors which appear. The source file
fstr.py
produces this AST with the parser in Java:
As you can see, the representation of the internals of the string is incomplete, and
Hello, world!
doesn't appear in the dump. This is causing test failures because the C# and Python parsers don't have this problem. For example, the parser in Python gives this:Any ideas on what could be causing this?