diff --git a/ghc/compiler/reader/ReadPrefix.lhs b/ghc/compiler/reader/ReadPrefix.lhs index d789197dd3bfdb30dd9c2bc60b8cbbf7d3600672..a29c6b39763fdbe35ee42706e8422fac3778b367 100644 --- a/ghc/compiler/reader/ReadPrefix.lhs +++ b/ghc/compiler/reader/ReadPrefix.lhs @@ -612,7 +612,7 @@ wlkBinding binding U_fobind id ty ext_name unsafe_flag cconv imp_exp srcline -> mkSrcLocUgn srcline $ \ src_loc -> wlkVarId id `thenUgn` \ h_id -> - wlkHsType ty `thenUgn` \ h_ty -> + wlkHsSigType ty `thenUgn` \ h_ty -> wlkExtName ext_name `thenUgn` \ h_ext_name -> rdCallConv cconv `thenUgn` \ h_cconv -> rdForKind imp_exp (cvFlag unsafe_flag) `thenUgn` \ h_imp_exp ->