Skip to content

Do not simplify open statements - #4068

Merged
TIHan merged 1 commit into
dotnet:masterfrom
vasily-kirichenko:do-not-simplify-open-statements
Dec 6, 2017
Merged

TIHan merged 1 commit into
dotnet:masterfrom
vasily-kirichenko:do-not-simplify-open-statements

Conversation

@vasily-kirichenko

Copy link
Copy Markdown
Contributor

No description provided.

@saul

saul commented Dec 6, 2017

Copy link
Copy Markdown
Contributor

Cheers @vasily-kirichenko 👍

@TIHan
TIHan merged commit 6e8515f into dotnet:master Dec 6, 2017
@TIHan

TIHan commented Dec 6, 2017

Copy link
Copy Markdown
Contributor

Thank you! Great!

KevinRansom pushed a commit that referenced this pull request Dec 7, 2017
* do not simplify open statements (#4068)

* Do not trigger completion on operators (#4054)

* No triggered completion on operators

* Check with classification data instead of stupid custom stuff

* Fix silly tests

* Feedback
KevinRansom pushed a commit that referenced this pull request Dec 8, 2017
* do not simplify open statements (#4068)

* Do not trigger completion on operators (#4054)

* No triggered completion on operators

* Check with classification data instead of stupid custom stuff

* Fix silly tests

* Feedback
member __.IsFromType = (match itemOcc with ItemOccurence.UseInType -> true | _ -> false)
member __.IsFromAttribute = (match itemOcc with ItemOccurence.UseInAttribute -> true | _ -> false)
member __.IsFromDispatchSlotImplementation = (match itemOcc with ItemOccurence.Implemented -> true | _ -> false)
member __.IsFromDefinition = itemOcc = ItemOccurence.Binding

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor stylistic nit - normally I'd put the second = in parentheses

member __.IsFromDefinition = (itemOcc = ItemOccurence.Binding)

Just one of those things arising from the multiple meanings of = in F# code

nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
* do not simplify open statements (dotnet#4068)

* Do not trigger completion on operators (dotnet#4054)

* No triggered completion on operators

* Check with classification data instead of stupid custom stuff

* Fix silly tests

* Feedback
T-Gro pushed a commit that referenced this pull request Jun 12, 2026
T-Gro pushed a commit that referenced this pull request Jun 12, 2026
* do not simplify open statements (#4068)

* Do not trigger completion on operators (#4054)

* No triggered completion on operators

* Check with classification data instead of stupid custom stuff

* Fix silly tests

* Feedback
T-Gro pushed a commit that referenced this pull request Jun 12, 2026
* do not simplify open statements (#4068)

* Do not trigger completion on operators (#4054)

* No triggered completion on operators

* Check with classification data instead of stupid custom stuff

* Fix silly tests

* Feedback
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.

4 participants