Done.

Jorge Ortiz wrote:
> Anytime the compiler throws an exception it's a bug and should be filed.
> 
> On Tue, Nov 18, 2008 at 3:23 PM, Charles F. Munat <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     One would think so, and maybe it is, but the problem was actually caused
>     by two errors in my code: a missing ) and then later an extra ) which
>     turned what should have been a compile time error into a runtime error.
> 
>     That said, do you think there is a problem with the compiler?
> 
>     Chas.
> 
>     Jorge Ortiz wrote:
>      > That's a bug in the Scala compiler.
>      >
>      > Try to comment out code and reduce the bug to it's minimal form
>     to file
>      > a bug report: http://lampsvn.epfl.ch/trac/scala/
>      >
>      > --j
>      >
>      > On Tue, Nov 18, 2008 at 2:44 PM, Charles F. Munat <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>      > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>      >
>      >
>      >     I changed the Scala version to 2.7.2, blew away .m2, did an
>     mvn clean,
>      >     and I now get the error below when I try to compile. I note
>     that none of
>      >     the files concerned are in my app, so I presume this is a
>     Lift thing...
>      >
>      >     Any ideas? I'll keep messing with it.
>      >
>      >     [INFO] [compiler:compile]
>      >     [INFO] Nothing to compile - all classes are up to date
>      >     [INFO] [scala:compile {execution: default}]
>      >     [INFO] suggestion: remove the scalaVersion from pom.xml
>      >     [INFO] Compiling 28 source files to
>      >     /private/var/www/mine/mine-app/target/classes
>      >     [WARNING] Exception in thread "main"
>      >     java.lang.ArrayIndexOutOfBoundsException: 30
>      >     [WARNING]       at
>      >     scala.tools.nsc.ast.TreeGen.mkTuple(TreeGen.scala:227)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Infer$class.actualArgs(Infer.scala:62)
>      >     [WARNING]       at
>      >     scala.tools.nsc.Global$analyzer$.actualArgs(Global.scala:284)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:1733)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:2566)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:2566)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:588)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:2566)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:2617)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3219)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:1621)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer.typedArgToPoly$1(Typers.scala:1789)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$27.apply(Typers.scala:1798)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$27.apply(Typers.scala:1798)
>      >     [WARNING]       at scala.List$.map2(List.scala:326)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:1798)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:2619)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3219)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:1621)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$1.apply(Typers.scala:1624)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$1.apply(Typers.scala:1624)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedArgs(Typers.scala:1624)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:1727)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:2566)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:2566)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:583)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:2566)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:2617)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3219)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3371)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3143)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1405)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3083)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3371)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:3429)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:1342)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3059)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1570)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1193)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1062)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3050)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1570)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:297)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3046)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1570)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3046)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1570)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3046)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:1570)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$19.apply(Typers.scala:1615)
>      >     [WARNING]       at scala.List$.loop$1(List.scala:293)
>      >     [WARNING]       at scala.List$.mapConserve(List.scala:310)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1615)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3046)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3323)
>      >     [WARNING]       at
>      >     scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:3360)
>      >     [WARNING]       at
>      >    
>     
> scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$2.apply(Analyzer.scala:40)
>      >     [WARNING]       at
>      >     scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:268)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:247)
>      >     [WARNING]       at
>      >    
>     scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:247)
>      >     [WARNING]       at
>     scala.Iterator$class.foreach(Iterator.scala:410)
>      >     [WARNING]       at
>      >    
>     scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:266)
>      >     [WARNING]       at
>      >     scala.tools.nsc.Global$GlobalPhase.run(Global.scala:247)
>      >     [WARNING]       at
>      >     scala.tools.nsc.Global$Run.compileSources(Global.scala:579)
>      >     [WARNING]       at
>     scala.tools.nsc.Global$Run.compile(Global.scala:663)
>      >     [WARNING]       at scala.tools.nsc.Main$.process(Main.scala:84)
>      >     [WARNING]       at scala.tools.nsc.Main$.main(Main.scala:98)
>      >     [WARNING]       at scala.tools.nsc.Main.main(Main.scala)
>      >     [INFO]
>      >    
>     ------------------------------------------------------------------------
>      >     [ERROR] BUILD FAILURE
>      >
>      >
>      >     Chas.
>      >
>      >
>      >
>      >
>      > >
> 
> 
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to