hls-change-type-signature-plugin-1.0.1.1: test/testdata/ghc921-error1.txt
• Couldn't match type ‘Data.Set.Internal.Set Int’ with ‘Int’
Expected: Int -> [Int]
Actual: Data.Set.Internal.Set Int -> [Int]
• In the second argument of ‘(.)’, namely ‘toList’
In the expression: head . toList
In an equation for ‘test’: test = head . toList
|
83 | test = head . toList
| ^^^^^^