prioritize @:to/@:from over to/from for abstract casts