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

--~--~---------~--~----~------------~-------~--~----~
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