I'm going to fix the problem tomorrow... but I was wondering why the compilation issues.
On Tue, Mar 17, 2009 at 9:44 PM, Jorge Ortiz <[email protected]> wrote: > Argh. Good call. I don't know as I was debugging through IRC, but it was > probably 2.7.2 since he was using the todo example site from the Lift > workshop. > > And I told him to upgrade to Lift 1.0. That's going to cause problems. Oh > well. > > --j > > On Tue, Mar 17, 2009 at 8:23 PM, David Pollak < > [email protected]> wrote: > >> What version of Scala? >> >> >> On Tue, Mar 17, 2009 at 5:45 PM, Jorge Ortiz <[email protected]>wrote: >> >>> And if they're useful, can subclasses of MappedForeignKey define them >>> more exactly? >>> >>> Errors looked like this: >>> >>> [WARNING] >>> C:\workspace\liftapp\src\main\scala\com\liftworkshop\model\ToDo.scala: >>> >>> 16: error: object creation impossible, since type ForeignType in trait >>> MappedFor >>> eignKey with bounds >: Nothing <: >>> net.liftweb.mapper.KeyedMapper[Long,my.liftapp >>> .model.User] is not defined >>> [WARNING] object owner extends MappedLongForeignKey( this , User ) >>> >>> >>> >>> [WARNING] ^ >>> >>> >>> [WARNING] >>> C:\workspace\liftapp\src\main\scala\com\liftworkshop\model\ToDo.scala: >>> 16: error: object creation impossible, since type FieldType in trait >>> MappedForei >>> >>> gnKey with bounds >: Nothing <: Long is not defined >>> [WARNING] object owner extends MappedLongForeignKey( this , User ) >>> [WARNING] ^ >>> >>> >>> --j >>> >>> >>> On Tue, Mar 17, 2009 at 5:42 PM, Jorge Ortiz <[email protected]>wrote: >>> >>>> Anyone know what these two types: >>>> >>>> type FieldType <: KeyType >>>> type ForeignType <: KeyedMapper[KeyType, Other] >>>> >>>> in trait MappedForeignKey are doing? >>>> >>>> They're never fully defined and never used, but somehow were causing >>>> compile problems in someone's code. >>>> >>>> If they're useless, can they be axed? >>>> >>>> --j >>>> >>> >>> >>> >>> >> >> >> -- >> 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 -~----------~----~----~----~------~----~------~--~---
