Regression using NamedFieldPuns with qualified field names
I found a regression where code using the NamedFieldPuns extension and qualified field names doesn't compile with GHC 8 rc2, where it did with GHC 7.10.
Minimal reproduction:
```hs
module Rec where
data Rec = Rec { f :: Integer }
--------------------
{-# LANGUAGE NamedFieldPuns #-}
module Main where
import Rec (Rec (Rec))
import qualified Rec
g :: Rec -> Integer
g (Rec { Rec.f }) = f
```
On GHC 8 this fails with:
```
Main.hs:6:10: error: Qualified name in binding position: Rec.f
```
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.0.1-rc2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Regression using NamedFieldPuns with qualified field names","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.0.1-rc2","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"I found a regression where code using the NamedFieldPuns extension and qualified field names doesn't compile with GHC 8 rc2, where it did with GHC 7.10.\r\n\r\nMinimal reproduction:\r\n\r\n{{{#!hs\r\nmodule Rec where\r\n\r\ndata Rec = Rec { f :: Integer }\r\n\r\n--------------------\r\n\r\n{-# LANGUAGE NamedFieldPuns #-}\r\nmodule Main where\r\n\r\nimport Rec (Rec (Rec))\r\nimport qualified Rec\r\n\r\ng :: Rec -> Integer\r\ng (Rec { Rec.f }) = f\r\n}}}\r\n\r\nOn GHC 8 this fails with:\r\n\r\n{{{\r\nMain.hs:6:10: error: Qualified name in binding position: Rec.f\r\n}}}","type_of_failure":"OtherFailure","blocking":[]} -->
issue