Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure non-empty “select” clauses in mergeToComprehensions:
Am empty select is filled with a dummy `LiteralNode(1)` to ensure proper translation of such a Comprehension in `removeFieldNames` and the code generator. We also add an option to `RemoveFieldNames` for keeping StructNodes intact when used in a “from” clause of a Comprehension, even when there are no references. This can be used to force the creation of aliases for dummy nodes in the code generator when required by a database.
- Loading branch information
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters