On Thu, Sep 3, 2009 at 4:21 PM, Naftoli Gugenheim <[email protected]>wrote:
> One of those exception when transforming types -- it prints the verbosified > version of the function, then keeps going up the AST tree and printing. > Then there's a InvocationTargetException caused by > ...symtab.Types$TypeError: type mismatch; > found : (Super-expanded recursive type) > Etc. > This is after I added : LongKeyedMetaMapper[_] to the method. (Adding it to > each MetaMapper returned fixes it). Before it was something similar. > The point is, is there a single type annotation that can be added to the > method? > If LongKeyedMetaMapper[_] causes a compiler crash, please file a ticket on the Scala bug tracker. If you can post the stack trace to the Scala list, Paul P or someone else with a clue might be able to recommend something. > > ------------------------------------- > David Pollak<[email protected]> wrote: > > On Thu, Sep 3, 2009 at 3:15 PM, Naftoli Gugenheim <[email protected] > >wrote: > > > > > def lookupTable(v: Value) = v match { > > case Lookup => LookupTable > > case RangleLookup => RangeLookupTable > > } > > Causes a compiler crash (sometimes?). > > > Hmmm.... what's the compiler crash? > > > > LookupTable and RangeLookupTable are LongKeyedMetaMappers. > > What type information can I add without casting? > > Thanks. > > > > > > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
