Compilation error, dd_ND is not defined
Summary
Write a brief description of the issue.
I think that the field dd_ND from HsDataDefn was taken out recently, and now I am getting this error (haddock-api dep). Does this have a fix? utils/haddock/haddock-api/src/Haddock/GhcUtils.hs:257:43: error: Not in scope: ‘dd_ND’ | 257 | restrictDataDefn names defn@(HsDataDefn { dd_ND = new_or_data, dd_cons = cons }) | ^^^^^
utils/haddock/haddock-api/src/Haddock/GhcUtils.hs:262:23: error: Not in scope: ‘dd_ND’ | 262 | [] -> defn { dd_ND = DataType, dd_cons = [] } | ^^^^^ Command failed Build failed.
Steps to reproduce
Please provide a set of concrete steps to reproduce the issue.
- ./boot && ./configure
- hadrian/build -j --flavour=quick
Expected behavior
What do you expect the reproducer described above to do?
Compilation error.
Environment
- GHC version used: latest, master branch.
Optional:
- Operating System: Ubuntu
- System Architecture: I think that is not important