Skip to content

Conversation

@pwoolcoc
Copy link
Contributor

For issue #1698.

In commit ccebc79, the ternary operator is completely gone.

Commit ac2e855 leaves the definition and helper functions for the operator in, but removes all use of it from src/.

Paul Woolcock added 7 commits January 29, 2012 21:43
3 tests, pretty/block-disambig.rs, run-pass/operator-overloading.rs,
and run-pass/weird-exprs.rs, all included the ternary operator.  These
were changed to use the if-then-else construct instead.

2 tests, run-pass/block-arg-in-ternary.rs and run-pass/ternary.rs, were
only there because of the ternary operator, and were removed.
All the files below had at least one instance of the ternary operator
present in the source.  All have been changed to the equivalent
if/then/else expression.
All tests now pass, without the ternary operator.
`expr_ternary`, `ternary_to_if`, and all parses & lexer definitions have
been removed.
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.

2 participants