Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
39df6657
Commit
39df6657
authored
26 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1999-02-04 09:47:42 by simonm]
Fix a few occNameStrings that should be occNameUserString.
parent
20e4a740
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/typecheck/TcGenDeriv.lhs
+4
-4
4 additions, 4 deletions
ghc/compiler/typecheck/TcGenDeriv.lhs
with
4 additions
and
4 deletions
ghc/compiler/typecheck/TcGenDeriv.lhs
+
4
−
4
View file @
39df6657
...
...
@@ -783,7 +783,7 @@ gen_Read_binds tycon
read_con data_con -- note: "b" is the string being "read"
= let
data_con_RDR = qual_orig_name data_con
data_con_str= occNameString (getOccName data_con)
data_con_str= occName
User
String (getOccName data_con)
con_arity = argFieldCount data_con
con_expr = mk_easy_App data_con_RDR as_needed
nullary_con = con_arity == 0
...
...
@@ -809,7 +809,7 @@ gen_Read_binds tycon
tycon_loc
read_label f
= let nm = occNameString (getOccName (fieldLabelName f))
= let nm = occName
User
String (getOccName (fieldLabelName f))
in
[str_qual nm, str_qual "="]
-- There might be spaces between the label and '='
...
...
@@ -901,7 +901,7 @@ gen_Show_binds tycon
lab_fields = length labels
show_con
= let nm = occNameString (getOccName data_con)
= let nm = occName
User
String (getOccName data_con)
space_ocurly_maybe
| nullary_con = ""
| lab_fields == 0 = " "
...
...
@@ -921,7 +921,7 @@ gen_Show_binds tycon
show_thingies = show_all show_con real_show_thingies_with_labs
show_label l
= let nm = occNameString (getOccName (fieldLabelName l))
= let nm = occName
User
String (getOccName (fieldLabelName l))
in
mk_showString_app (nm ++ "=")
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment