The above will fail to compile with the following error:
Example.scalaoverriding value logger in trait Loggable of type net.liftweb.common.Logger; value logger in trait MetaMapper of type net.liftweb.common.Logger has weaker access privileges; it should not be private
Cheers
Jono
Torsten Uhlmann
unread,
Apr 23, 2014, 4:54:25 AM4/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
It has no real solution, just kind of an explanation (which you gave :)
)
Looking at MetaMapper, I found it has a private val logger, I guess
that's the culprit?
Torsten
Am Mi 23 Apr 2014 10:23:26 CEST schrieb Jonathan Ferguson:
> I know there is an answer to this, I can't find it and may brain is
> fried.
>
>
> class Example extends LongKeyedMapper[Example ] with IdPK with Loggable {
>
> def getSingleton = Example
>
> }
>
>
>
> The above will fail to compile with the following error:
>
> Example.scalaoverriding value logger in trait Loggable of type
> net.liftweb.common.Logger; value logger in trait MetaMapper of type
> net.liftweb.common.Logger has weaker access privileges; it should not
> be private
>
> Cheers
> Jono
>