Branch: refs/heads/main
Revision: aefd69d
Author: arezaii
Link: chpl-syntax: handle postfix nilable in formal type expressions by arezaii · Pull Request #19847 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19847 from arezaii/print-postfix-nilable
chpl-syntax: handle postfix nilable in formal type expressions
This PR updates and corrects how we print ?
whether we
are in a TypeQuery
(prefix) or an OpCall
(postfix).
This should fix the future for test/classes/vass/no-instance-for-arg-type
that started breaking after moving to the dyno
parser.
Added some test cases to catch regressions.
TESTING:
- [x] paratest (0 failures)
- [x] paratest with
--no-dyno
(24 failures)
reviewed by @dlongnecke-cray - Thanks!
Signed-off-by: arezaii ahmad.rezaii@hpe.com
Modified Files:
M compiler/dyno/lib/uast/chpl-syntax-printer.cpp
M compiler/dyno/test/uast/testStringify.cpp
Compare: https://github.com/chapel-lang/chapel/compare/bed485d233e4...aefd69d8bbbb