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

merge from master #15

Merged
merged 37 commits into from
Dec 6, 2016
Merged

merge from master #15

merged 37 commits into from
Dec 6, 2016

Conversation

AviAvni
Copy link
Owner

@AviAvni AviAvni commented Dec 6, 2016

No description provided.

vasily-kirichenko and others added 30 commits November 27, 2016 17:52
This implements signature help (method overload tips and parameter info). #1767. Also fixes #1856

This is mostly just wiring up the necessary things and copying across some of the nitty-gritty detail from the old language service. Some additional information was propagated such as HasParamArrayArg.
Prior to this, we never update the compiler options stored for scripts. This means that as you add #r or #load the compilation options aren't updated.

This PR updates the options in the semantic analysis phase. We can't update them on every request for options because it is too expensive.

This fixes some aspects of #1808 but the underlying problem of not reacting to file update events in dependencies is not fixed.
…e” branch, but not being reset. Therefor we get too specific error message:ElseBranch should only work on the return type (#1827)
Fix printing of "null" values
* case names from FCS

* additional case names
… value and works for F# to F# calls (#1812)

* First rough try.

* Write DefaultParameterValue to Constant table.

* Rename GenDefaultParameterValue and make local.

* Optional+DefaultParamValue args F# to F# works.

* Add first set of tests.

* Add more tests.

* Extract const to fieldinit code to active pattern.

* Add tests for Nullable optional parameters.

* Add one more test.

* Add compiler error to avoid unverifiable code.

* Add proper comment.

* Spaces.

* Allow callling F# methods only marked with Optional.

The behavior here matches that of C# as far as I can tell, but it seems
unspecified anywhere. I could not find a reference to it in the C# 5.0
spec or C# 6.0 draft spec. In particular the System.Reflection.Missing
for obj is interesting.

* Make error into a warning, improve text.

* Clean up test names, more conventional.

* Add test that calls F# from F# in other assembly.
* fix glyph

* fix glyph

* fix glyph
add notes on configuring nuget.exe to use proxy
* fix tests

* FIx tutorial
* fix tests

* fix-1898

* better diagnostics in env.lst
This fixes a large chunk of #1808. I've tested it by hand. The build still doesn't react to files coming/going in DependencyFiles.  I'll adjust the description in #1808 to make the cases distinct. Basically F# has an analysis engine which tells the UI when to do "foreground" rechecks of files because the checking state has changed. This reacts to those events. See https://fsharp.github.io/FSharp.Compiler.Service/queue.html for some info.

When the UI gets the focus on a document, it should also notify the F# engine to start checking that document


* fix tests

* Fix bridge between backgronud builders

* fix test
)

* Emit special warning when = is used and user might want to use <-

* Don't warn if there is no setter

* Move IsPropertyGetter and IsPropertySetter to tast.fs

* Show property name in error message

* Use IsPropertyGetterMethod/IsPropertySetterMethod in Symbols.fs

* Only warn on last expression in a sequence - fixes #326

* Extract ReportImplicitlyIgnoredBoolExpression as separate function

* Detect "in" expressions
* use shared MEF components instead of static fields

* revert back stateless static methods that were used in tests

* remove Document from the signature
do not trigger autocomple after double dot
* Update Tests.LanguageService.Completion.fs
* Hook F# Interactive menu commands into language service

Rudimentary implementation

* Refactor

* Refactor again for better robustness
…c do not run to completion (#1926)

* do not throw exception if LanguageDebugInfoService.GetDataTipInfoAsync do not run to completion

* CommonRoslynHelpers.StartAsyncAsTask catches exceptions and transform them to Assert.Exception instead of reraising
dsyme and others added 7 commits December 5, 2016 13:44
* Trace errors in from fsdiff

* Port diff code

* Remove diff.exe and use it directly in F# TestSuite
…compute argument index (#1895)

* Show 'no documentation' as QuickInfo workaround when no XML doc comments are defined

* Don't add newline if there aren't parameter docs

* Don't ask BuildMethodOverloadTipText to also handle parameters

* Show all parameters when invoking signature helper

* Account for edge case when computing argument index.

* Adjust tests
@AviAvni AviAvni merged commit d04c1f9 into AviAvni:master Dec 6, 2016
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.