Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Decking
GHC
Commits
39df6657
Commit
39df6657
authored
Feb 04, 1999
by
simonm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 1999-02-04 09:47:42 by simonm]
Fix a few occNameStrings that should be occNameUserString.
parent
20e4a740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ghc/compiler/typecheck/TcGenDeriv.lhs
ghc/compiler/typecheck/TcGenDeriv.lhs
+4
-4
No files found.
ghc/compiler/typecheck/TcGenDeriv.lhs
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 ++ "=")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment