summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr
blob: cadcb96066c0d6718f8884f0a8640fde47ea461d (plain)
1
2
3
4
5
6
7

TcStaticPointersFail01.hs:8:13: error: [GHC-83865]
    • Couldn't match expected type ‘Int’ with actual type ‘Int -> Int’
    • Probable cause: ‘g’ is applied to too few arguments
      In the body of a static form: g
      In the expression: static g
      In an equation for ‘f0’: f0 = static g