I'm trying to build an old project with new VS, it throws compile time error:
error FS0452: Quotations cannot contain inline assembly code or pattern matching on arrays
There is a <@@ match x with ... @@> over x (a string, which is a char-array). Is this intended behaviour now?
Expected behavior
Should compile
Actual behavior
Fails
Related information
Provide any related information (optional):
- Operating system Win 11
- .NET Runtime 10.0.201
- Editing Tools VS2026 18.4.2
Edit: Workaround: Use if instead of match.
I'm trying to build an old project with new VS, it throws compile time error:
There is a
<@@ match x with ... @@>over x (a string, which is a char-array). Is this intended behaviour now?Expected behavior
Should compile
Actual behavior
Fails
Related information
Provide any related information (optional):
Edit: Workaround: Use
ifinstead ofmatch.