(CASECLASSDEF("Works") withParams( PARAM( "one","Int"), PARAM("two","Int"), PARAM("three","Int") ) )
This doesn't compile :
(CASECLASSDEF("NoCompile") withParams( List("one","two","three").map( PARAM(_,"Int") ) ) )
it says it can't be applied to a List[ValNameStart]. I don't even know what a ValNameStart is... so maybe that's my problem.
But whatever it is, it seems like this should work, no? Everything else I've encountered so far seems happy to take a list of whatever it normally expects....
Thanks,
-Jon