Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply opening brace in nested computation expression identifier #807

Merged
merged 1 commit into from
May 4, 2020

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented May 3, 2020

Fixes #806

Apply same opening brace for computation expression if the identifier is a nested structure.

App
                             (NonAtomic,false,
                              App
                                (NonAtomic,false,Ident test,
                                 Const
                                   (String
                                      ("test",
                                       tmp.fsx (5,11--5,17) IsSynthetic=false),
                                    tmp.fsx (5,11--5,17) IsSynthetic=false),
                                 tmp.fsx (5,6--5,17) IsSynthetic=false),

See https://fsprojects.github.io/fantomas-tools/#/ast?data=N4KABGBEAmCmBmBLAdrAzpAXFSAacUiaAYmolmPAIYA2as%2BEkAxgPZwWQDaAPACroALmgB8AXQA6yGrEFhBQtGAC8UiArSCAMkTkTIG4frUQwXE6flCw%2Bw-rDALlsAFEAHgAdYzQQDpYAI4ArrTyAE5BsOGRNpBBqJ7eCtDGyM5gAL5OYpAgGUA

@nojaf nojaf requested a review from jindraivanek May 3, 2020 20:16
@nojaf nojaf merged commit 97ddb31 into fsprojects:master May 4, 2020
@nojaf nojaf deleted the fix-806 branch May 4, 2020 11:30
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.

Opening brace for test missing
2 participants