diff options
author | Abel Nieto <abeln@google.com> | 2017-03-31 09:14:27 -0400 |
---|---|---|
committer | Abel Nieto <abeln@google.com> | 2017-04-02 12:50:19 -0400 |
commit | 4f937e1735574ffda679761a0a9a8bebbe9cb2ae (patch) | |
tree | 226fc4a47ca029d847cd310752f2f532494a1a8c /tests/pos/t6994.scala | |
parent | a0c0b605110980abb5d993dadcc943d148e8e262 (diff) | |
download | dotty-4f937e1735574ffda679761a0a9a8bebbe9cb2ae.tar.gz dotty-4f937e1735574ffda679761a0a9a8bebbe9cb2ae.tar.bz2 dotty-4f937e1735574ffda679761a0a9a8bebbe9cb2ae.zip |
Fix #1959: infix type operators in the REPL
Infix type operators were broken in the REPL.
The REPL uses fold methods from the untpd package,
but those were skipping the operator subtree when folding
over an InfixOp.
Fix the issue by taking the operator into account.
Tested:
1) Verified that only the REPL code uses the modified
fold method.
2) Added repl test.
Diffstat (limited to 'tests/pos/t6994.scala')
0 files changed, 0 insertions, 0 deletions