Hey folks,
So, I'm seeing something of a head scratcher this morning. Working on a small side project using Lift 2.5-M1, and I'm trying to use write concerns to ensure that something get written before I need it on the immediate next line. According to the docs, MongoRecord.save has three flavors
- MongoRecord.save
- MongoRecord.save(concern:WriteConcern)
- MongoRecord.save(safe:Boolean)
However, for whatever reason, the compiler only appears to see the first version of the save method. I see this error when I attempt to use the third variation I listed above:
[error] /Users/matt/Sites/anchor_tab/src/main/scala/com/anchortab/snippet/Authentication.scala:147: Unit does not take parameters
[error] val result : User = user.save(true)
[error] ^
[error] one error found
Has anyone seen this before? If need be I can work up a super simple sample project, but it looks like something with the overloading is borked, but I can't reproduce it in the Console with a simplified version of the inheritance and I can't reproduce this. Has anyone else seen this happening as of late?