dotnet / dotnet/fsharp

Type declaration isn't type checked when type inherits unknown type

Open
#5,399 7 comments 0 reactions 1 assignee Claimed by @edgarfgp View on GitHub
Area-Diagnostics Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

```fsharp
namespace ClassLibrary16

type T() =
inherit Foo()

let x = Some 123
do
match x with
| Some n -> printfn "%s" n
| _ -> ()

member x.Bar() = 123
```
screen shot 2018-07-27 at 20 29 34
screen shot 2018-07-27 at 20 29 53

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.