Skip to content

Fix single quote and space in F# pretty methods - #4969

Merged
Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
nohwnd:fix-single-quote-f#
Apr 9, 2024
Merged

Fix single quote and space in F# pretty methods#4969
Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
nohwnd:fix-single-quote-f#

Conversation

@nohwnd

Copy link
Copy Markdown
Member

Description

Whitespace is not valid in method names and the parser was not skipping over escaped single tick \', so the method name from F# ``don't pass`` would be output as 'don\'t pass' in CIL. And the parser would parse 'don\' as being quoted, and t pass as invalid method part because there is whitespace.

Related issue

Fix #4313

  • I have ensured that there is a previously discussed and approved issue.

Loading
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.

Test discovery problem when single quote is used in F# method name

3 participants