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
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
394
Merge Requests
394
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
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
Glasgow Haskell Compiler
GHC
Commits
7fcfee1c
Commit
7fcfee1c
authored
Oct 05, 2015
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few typos in comments
parent
c0bdfee7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
compiler/coreSyn/CoreUnfold.hs
compiler/coreSyn/CoreUnfold.hs
+1
-1
compiler/typecheck/TcUnify.hs
compiler/typecheck/TcUnify.hs
+2
-2
testsuite/tests/gadt/records-fail1.hs
testsuite/tests/gadt/records-fail1.hs
+1
-1
No files found.
compiler/coreSyn/CoreUnfold.hs
View file @
7fcfee1c
...
...
@@ -1239,7 +1239,7 @@ CONLIKE thing (modulo lets).
Note [Lone variables] See also Note [Interaction of exprIsWorkFree and lone variables]
~~~~~~~~~~~~~~~~~~~~~ which appears below
The "lone-variable" case is important. I spent ages messing about
with unsatisfactory var
ai
nts, but this is nice. The idea is that if a
with unsatisfactory var
ia
nts, but this is nice. The idea is that if a
variable appears all alone
as an arg of lazy fn, or rhs BoringCtxt
...
...
compiler/typecheck/TcUnify.hs
View file @
7fcfee1c
...
...
@@ -850,7 +850,7 @@ We may encounter a unification ty1 ~ ty2 that cannot be performed syntactically,
and yet its consistency is undetermined. Previously, there was no way to still
make it consistent. So a mismatch error was issued.
Now these unfications are deferred until constraint simplification, where type
Now these un
i
fications are deferred until constraint simplification, where type
family instances and given equations may (or may not) establish the consistency.
Deferred unifications are of the form
F ... ~ ...
...
...
@@ -860,7 +860,7 @@ E.g.
id :: x ~ y => x -> y
id e = e
involves the unfication x = y. It is deferred until we bring into account the
involves the un
i
fication x = y. It is deferred until we bring into account the
context x ~ y to establish that it holds.
If available, we defer original types (rather than those where closed type
...
...
testsuite/tests/gadt/records-fail1.hs
View file @
7fcfee1c
...
...
@@ -10,7 +10,7 @@
-- It's been removed in August 2015
-- see Phab D1118
-- test should result in
to
parse error
-- test should result in
a
parse error
module
ShouldFail
where
...
...
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