You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openSystem.Collections.Genericletinventory= Dictionary<string, int>()
inventory.Add("Apples",1)
inventory.Add("Oranges",2)
inventory.Add("Bananas",3)
inventory["Oranges"]// raises an exception if not found
inventory.["Apples"]// raises an exception if not found
Result
openSystem.Collections.Genericletinventory= Dictionary<string, int>()
inventory.Add("Apples",1)
inventory.Add("Oranges",2)
inventory.Add("Bananas",3)
inventory["Oranges"]
inventory.["Apples"]// raises an exception if not found
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
The formatted result breaks my code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Options
Fantomas main branch at 2022-11-04T13:17:40Z - 9f9d03b
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered:
In general, we would ask you to use the documentation and try to solve this yourself.
But as you are just getting started with F#, that might be a bit much to ask.
Anyway, you're welcome to have a look at the proposed fix and follow along. Maybe you can learn something from it.
Hello, I'm learning F# and was surprised when I realized my IDE removed my code comment.
I see there are a few related issues, but maybe this simple case could be a useful report?
I use the dot syntax as a workaround but it's not ideal since my IDE warns me about the dot being redundant.
Issue created from fantomas-online
Code
Result
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
Options
Fantomas main branch at 2022-11-04T13:17:40Z - 9f9d03b
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: