retain type when inlining array (closes #3446)
get unit tests to compile again