Commit dcf829c2 authored by simonpj's avatar simonpj

[project @ 2003-02-18 15:42:59 by simonpj]

Comments only
parent 1ffeecdb
......@@ -150,6 +150,9 @@ tcClassDecl1 (ClassDecl {tcdCtxt = context, tcdName = class_name,
sc_tys = mkPredTys sc_theta
dict_component_tys = sc_tys ++ op_tys
sc_sel_ids = [mkDictSelId sc_name clas | sc_name <- sc_sel_names]
-- Slightly curiously, the dictionary selectors are treated as RecordSelectorIds,
-- so they are treated as implicit Ids, but we don't give labelled fields to
-- the data constructors
in
tcMkDataCon datacon_name
[{- No strictness -}]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment