gavgaurav / nativelibs4java

Automatically exported from code.google.com/p/nativelibs4java
0 stars 0 forks source link

An unexpected error occurred while attempting an optimization : Array[java.lang.String].foldLeft #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[ERROR] warning: [scalacl] ******* An unexpected error occurred while 
attempting an optimization
[ERROR] [scalacl] ********   Attempted optimization : 'transformed 
Array[java.lang.String].foldLeft into equivalent while loop.'
[ERROR] [scalacl] ******** You can skip this line with the following 
environment variable :
[ERROR] warning: [scalacl] ********  An unexpected error occurred while 
attempting an optimization[scalacl] ********  An unexpected error occurred 
while attempting an
 optimization

Breaks here ....
 def locate(document: Elem, path: String): NodeSeq = {
   path.split("/").foldLeft[NodeSeq](document)(_ \ _) // line 41
  }

Original issue reported on code.google.com by john.lon...@gmail.com on 5 Dec 2012 at 3:27