Skip to content

Conversation

@auduchinok
Copy link
Member

Continuation of #12865.

Fixes field items in empty records:

type Record =
    { Field: int }

{ {caret} } // complete `Field`

Fixes env lookup at the first field location:

type Record =
    { Field: int }

let record = { Field = 1 }

{ {caret} } // complete `record`
type Record =
    { Field: int }

let record = { Field = 1 }

{ re{caret} } // complete `record`

@auduchinok auduchinok changed the title Completion empty record Completion: empty record fixes Mar 23, 2022
@auduchinok auduchinok force-pushed the completion-emptyRecord branch 2 times, most recently from 6c9262d to 8e33612 Compare March 24, 2022 15:46
* Fix for fields in empty records
* Fix for env items to be used as copyInfo
@auduchinok auduchinok force-pushed the completion-emptyRecord branch from 8e33612 to c9c1350 Compare March 25, 2022 15:18
@auduchinok
Copy link
Member Author

This is ready too now.

@vzarytovskii vzarytovskii enabled auto-merge (squash) April 29, 2022 14:17
@vzarytovskii vzarytovskii merged commit 1ac6d13 into dotnet:main Apr 29, 2022
charlesroddie pushed a commit to charlesroddie/fsharp that referenced this pull request May 2, 2023
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.

2 participants