summaryrefslogtreecommitdiff
path: root/rts/Printer.c
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2016-06-09 17:37:42 +0200
committerBen Gamari <ben@smart-cactus.org>2016-06-09 18:31:03 +0200
commite9dfb6e51f0cd585611a742ce7167e307ee7e7e8 (patch)
treeadf483df67f7dd2473473a07ab0474c2bc1a5414 /rts/Printer.c
parentb020db2a841c397a02ec352f8b6dc110b38b927b (diff)
downloadhaskell-e9dfb6e51f0cd585611a742ce7167e307ee7e7e8.tar.gz
Improve the error messages for static forms.
Now the message explains why closed variables are not closed when encountered in the body of (static ...). This required adding to the local environment the free variables of the local bindings in scope. Thus we can analyze and explain why a variable is not closed when encountered. Test Plan: ./validate Reviewers: austin, simonpj, bgamari Reviewed By: bgamari Subscribers: mboes, thomie Differential Revision: https://phabricator.haskell.org/D2167 GHC Trac Issues: #12003
Diffstat (limited to 'rts/Printer.c')
0 files changed, 0 insertions, 0 deletions