sbt - Why doesn't the Def.inputTask macro work in Scala 2.11.1? -


i'm using scala 2.11.1 , sbt 0.13.5.

i have sbt plugin contains helper function create input tasks follows (the implementation stripped away it's irrelevant problem):

def register(name: string, description: string): def.setting[inputtask[unit]] = {     inputkey[unit](name, description) <<= def.inputtask {          println("test")     } } 

this function compiles , works fine in scala 2.10.4, once switch 2.11.1 fails following error:

can't expand macros compiled previous versions of scala

is def.inputtask macro broken in scala 2.11.1, or missing glaring detail?

right above function residing in simplest sbt plugin imaginable. there no dependencies @ all, either.

sbt 0.13.x series uses scala 2.10.x when loads up, sbt 0.13.x must compiled against scala 2.10, , sbt plugins 0.13.x.

note: sbt 0.13 can define scala projects using 2.11.x.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -