summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2019-09-04 08:17:20 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-17 19:23:37 -0400
commit1c3af277582be677a11b1f292acb8c88ca3368b1 (patch)
tree3e370d1c9ca6cf2d4fb76c5754fe5587c959a29f /includes
parent8039b12546c80610e3a88c9fe59a0efe9c994515 (diff)
downloadhaskell-1c3af277582be677a11b1f292acb8c88ca3368b1.tar.gz
Improve error message for out-of-scope variables + VTA
As #13834 and #17150 report, we get a TERRIBLE error message when you have an out of scope variable applied in a visible type application: (outOfScope @Int True) This very simple patch improves matters. See TcExpr Note [VTA for out-of-scope functions]
Diffstat (limited to 'includes')
0 files changed, 0 insertions, 0 deletions