Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===
scala> List( 1, 2, 3 ).redu<tab>
=== What is the expected behavior? ===
I should see the following options:
reduceLeft reduceLeftOption reduceRight reduceRightOption
=== What do you see instead? ===
<console>:1: error: illegal start of definition
=== What versions of the following are you using? ===
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-4438?orig=1
Sorry, something went wrong.
On 2.10.0.r24908-b20110508020204 too. Actually this one exists for a long time already.
Array(1,2,3) has the same problem.
Li Haoyi (lihaoyi) said:
This is fixed in the Ammonite REPL
@ List( 1, 2, 3 ).reduce<TAB>
reduce reduceLeft reduceLeftOption reduceOption reduceRight
@ List( 1, 2, 3 ).reduce
@som-snytt said (edited by @lrytz on Sep 20, 2015 7:26:38 AM UTC):
github.com/scala/scala/pull/4659 part of scala/scala#4725
No branches or pull requests