Make a fixture of weird parsing of lists (#997)
The second example is interesting. If there's a list directly after the header, and that list has deeper structure, the parser is confused: It finds two lists: - One with the first nested element, - everything after it I'm not trying to fix this, as I'm not even sure this is a bug, and not a feature.
Showing
- haddock-library/fixtures/examples/list-blocks1.input 15 additions, 0 deletionshaddock-library/fixtures/examples/list-blocks1.input
- haddock-library/fixtures/examples/list-blocks1.parsed 12 additions, 0 deletionshaddock-library/fixtures/examples/list-blocks1.parsed
- haddock-library/fixtures/examples/list-blocks2.input 10 additions, 0 deletionshaddock-library/fixtures/examples/list-blocks2.input
- haddock-library/fixtures/examples/list-blocks2.parsed 10 additions, 0 deletionshaddock-library/fixtures/examples/list-blocks2.parsed
- haddock-library/haddock-library.cabal 0 additions, 1 deletionhaddock-library/haddock-library.cabal
Please register or sign in to comment