[project @ 2003-02-18 15:54:19 by simonpj]
authorsimonpj <unknown>
Tue, 18 Feb 2003 15:54:20 +0000 (15:54 +0000)
committersimonpj <unknown>
Tue, 18 Feb 2003 15:54:20 +0000 (15:54 +0000)
commitb979d0f29b34cc7f79b30b40bbcb86a291db33e5
tree716127d1c0f54738513b0d3528d0df366558205b
parentb749b2c7fd7fb9cdd464c213672ded760f498dc9
[project @ 2003-02-18 15:54:19 by simonpj]
-------------------------------------
  Two minor wibbles
-------------------------------------

[These two unrelated fixes just got tangled together in my tree.]

1.  Fix a crash when a class op is used as a record selector

2.  Fix a wibble related to the new DataCon naming story.
    In tcId, treat the DataCon case entirely separately, because
    its "stupid context" doesn't show up in its type.

    On the way, remove the DataCon cases in tcLookupId and tcLookupGlobalId
    The should not be necessary.  He says hopefully.
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcExpr.lhs