haskell / haskell/haskell-language-server

Inferred types for polymorphic functions sometimes produce `Any` instead of type variables

オープン
#806 コメント 10 件 リアクション 1 件 担当者 0 名 GitHub で見る
component: ghcide-type-lenses type: enhancement
主要言語
Haskell
スター
3k
フォーク
455
平均マージ
2日 19時間
マージ済み PR(30日)
11

説明

I wanted to play around with the new functionality to insert type signatures. The following:

```haskell
hello = print
```

surprises me, as when I add a type signature with a code action, I get:

```haskell
hello :: GHC.Types.Any -> IO ()
hello = print
```

which is mostly certainly not what I'd expect!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。