fsprojects / fsharp-language-server

Other
219 stars 37 forks source link

Can't convert bool to Boolean when ICsharpCode.Decompiler is referenced. #38

Open exyi opened 5 years ago

exyi commented 5 years ago

When I reference ICsharpCode.Decompiler package, some strange bugs appear. I don't really know what is different on this package (maybe it's not netstandard). The language server has quite a lot false positives in error reporting, the false errors mostly look like this:

This expression was expected to have type
    'System.Int32'    
but here has type
    'int'

image image

A tiny repro project: Cisint.Core.zip

By the way, thank you for implementing this amazing project, it mostly works very well!

exyi commented 5 years ago

For some reason it does the same thing when Giraffe version 3.6.0 is referenced. None of it's dependecies does that.