Omit the static form error for variables not in scope.
ClosedPublic

Authored by facundominguez on May 25 2015, 1:59 PM.

Details

Summary

Fixes T10446.

The following program

g = static f

now produces only:

...: error

Not in scope: 'f'

Before it would also produce a complaint about 'f' not being a top-level
identifier.

Test Plan

validate

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
facundominguez retitled this revision from to Omit the static form error for variables not in scope..
facundominguez updated this object.
facundominguez edited the test plan for this revision. (Show Details)
facundominguez added a reviewer: austin.
facundominguez updated the Trac tickets for this revision.
facundominguez added a subscriber: mboes.
austin accepted this revision.May 25 2015, 8:59 PM
austin edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 25 2015, 8:59 PM
This revision was automatically updated to reflect the committed changes.