Remove duplicate implicit AFuncHolder conversions
[error] /home/dpp/proj/health_expense/Frontend/src/main/scala/com/ihealthus/ihDev/snippet/Bills.scala:84: type mismatch;
[error] found : () => Int
[error] required: net.liftweb.http.S.AFuncHolder
[error] Note that implicit conversions are not applicable because they are ambiguous:
[error] both method unitToAF in object AFuncHolder of type (f: () => Any)net.liftweb.http.S.AFuncHolder
[error] and method toNFunc in object S of type (in: () => Any)net.liftweb.http.S.AFuncHolder
[error] are possible conversion functions from () => Int to net.liftweb.http.S.AFuncHolder
[error] S.fmapFunc(() => curPage.set(cp - 1))
[error] found : () => Int
[error] required: net.liftweb.http.S.AFuncHolder
[error] Note that implicit conversions are not applicable because they are ambiguous:
[error] both method unitToAF in object AFuncHolder of type (f: () => Any)net.liftweb.http.S.AFuncHolder
[error] and method toNFunc in object S of type (in: () => Any)net.liftweb.http.S.AFuncHolder
[error] are possible conversion functions from () => Int to net.liftweb.http.S.AFuncHolder
[error] S.fmapFunc(() => curPage.set(cp - 1))
Leave a comment