Skip to content

Document conditional compilation define limitations - #3241

Merged
nojaf merged 2 commits into
fsprojects:mainfrom
nojaf:fix-563
Mar 6, 2026
Merged

nojaf merged 2 commits into
fsprojects:mainfrom
nojaf:fix-563

Conversation

@nojaf

@nojaf nojaf commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Add DefineParseException for when conditional compilation define combinations produce invalid syntax trees. The CLI now shows a user-friendly error message explaining the limitation and linking to new end-user documentation.

image

Closes #563

@Smaug123 gonna consider this a limitation and close the issue.

Add DefineParseException for when conditional compilation define
combinations produce invalid syntax trees. The CLI now shows a
user-friendly error message explaining the limitation and linking
to new end-user documentation.
Comment thread src/Fantomas/Program.fs Fixed
@nojaf
nojaf merged commit 7fb3a0d into fsprojects:main Mar 6, 2026
6 checks passed
@nojaf
nojaf deleted the fix-563 branch August 21, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#ifdef

2 participants