yet another scala reflection bug