Fix for #1180: squash NPE
Test for #1180: error with alias for tuple type