Skip to content

Instantly share code, notes, and snippets.

@will3216
Created January 8, 2012 20:54
Show Gist options
  • Save will3216/1579651 to your computer and use it in GitHub Desktop.
Save will3216/1579651 to your computer and use it in GitHub Desktop.
[info] Compiling 1 Scala source to /home/godzirra/code/target/scala-2.9.1/classes...
[error] /home/godzirra/code/fraud.scala:25: type mismatch;
[error] found : scala.collection.immutable.Iterable[Int]
[error] required: Seq[?]
[error] var temp = scala.collection.mutable.ArrayBuffer((array_1):_*)
[error] ^
[error] /home/godzirra/code/fraud.scala:34: value sortWith is not a member of scala.collection.immutable.Iterable[Int]
[error] val result = fraud_exclaimation_point.sortWith(_.compareTo(_) < 0).mkString(",")
[error] ^
[error] two errors found
[error] {file:/home/godzirra/code/}default-81dbe4/compile:compile: Compilation failed
[error] Total time: 4 s, completed Jan 8, 2012 10:45:26 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment