Skip to content

Commit

Permalink
Add Parsec Subsection Warning to test
Browse files Browse the repository at this point in the history
Expects Invalid subsection warning by the Parsec ProjectConfig parser.
Currently the warning is issued twice:
First warning: "Warning: <ROOT>/else.project, else.project: Unrecognized
section '_' on line 3" is issued by the legacy parser,
Second warning: "Warning: dir-else/else.config:3:5: Invalid subsection
"_"" by Parsec Parser.
When we remove executing the legacy parser, we can remove the duplicate warning.
  • Loading branch information
jgotoh committed Jan 10, 2025
1 parent 84ddad3 commit 32bc470
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# cabal v2-build
Warning: <ROOT>/else.project, else.project: Unrecognized section '_' on line 3
Warning: dir-else/else.config:3:5: Invalid subsection "_"
# Multiline string marking:
# ^When using configuration from:$
# ^ - else.project$
Expand Down

0 comments on commit 32bc470

Please sign in to comment.