Skip to content

Comments

Add FSC compiler options tests#19348

Open
bbatsov wants to merge 1 commit intodotnet:mainfrom
bbatsov:add-fsc-options-tests
Open

Add FSC compiler options tests#19348
bbatsov wants to merge 1 commit intodotnet:mainfrom
bbatsov:add-fsc-options-tests

Conversation

@bbatsov
Copy link
Contributor

@bbatsov bbatsov commented Feb 22, 2026

Description

Adds test coverage for FSC-specific compiler options that had no dedicated tests: --parseonly, --typecheckonly, --consolecolors, --preferreduilang, --abortonerror, and internal optimization switches (--jit, --localoptimize, --splitting). Also adds error cases for invalid --warn and --target values.

Companion to #19346 which covers the FSI side.

Contributes to #13878

Checklist

  • Test cases added

  • Performance benchmarks added in case of performance changes

  • Release notes entry updated:

    If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request.

Cover FSC-specific options that had no dedicated tests: --parseonly,
--typecheckonly, --consolecolors, --preferreduilang, --abortonerror,
and internal optimization switches (--jit, --localoptimize, --splitting).
Also add error cases for invalid --warn and --target values.

Contributes to dotnet#13878
@github-actions
Copy link
Contributor

✅ No release notes required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant