Print better error message when finalizing unknown base types.
Print better error message when finalizing unknown base types.

benjamn/ast-types,benjamn/ast-types,gabelevi/ast-types,marcioj/ast-types,benjamn/ast-types