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,335
Issues
4,335
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
370
Merge Requests
370
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
ff7094e5
Commit
ff7094e5
authored
Mar 29, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos in comments [ci skip]
parent
01b062ec
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
compiler/backpack/NameShape.hs
compiler/backpack/NameShape.hs
+1
-1
compiler/deSugar/Match.hs
compiler/deSugar/Match.hs
+1
-1
compiler/iface/IfaceEnv.hs
compiler/iface/IfaceEnv.hs
+1
-1
compiler/prelude/primops.txt.pp
compiler/prelude/primops.txt.pp
+1
-1
compiler/typecheck/TcErrors.hs
compiler/typecheck/TcErrors.hs
+1
-1
No files found.
compiler/backpack/NameShape.hs
View file @
ff7094e5
...
...
@@ -159,7 +159,7 @@ ns_module = mkHoleModule . ns_mod_name
-- | Substitution on @{A.T}@. We enforce the invariant that the
-- 'nameModule' of keys of this map have 'moduleUnitId' @hole@
-- (meaning that if we have a hole substitution, the keys of the map
-- are never affected.) Alternatively, this is isomorphic to
-- @Map ('ModuleName', 'OccName') 'Name'@.
type
ShNameSubst
=
NameEnv
Name
...
...
compiler/deSugar/Match.hs
View file @
ff7094e5
...
...
@@ -662,7 +662,7 @@ is collected here, in @matchWrapper@. This function takes as
arguments:
\begin{itemize}
\item
Typchecked @Matches@ (of a function definition, or a case or lambda
Typ
e
checked @Matches@ (of a function definition, or a case or lambda
expression)---the main input;
\item
An error message to be inserted into any (runtime) pattern-matching
...
...
compiler/iface/IfaceEnv.hs
View file @
ff7094e5
...
...
@@ -143,7 +143,7 @@ updNameCache upd_fn = do { hsc_env <- getTopEnv
-}
-- | Look up the 'Name' for a given 'Module' and 'OccName'.
-- Consider alternately using 'lookupIfaceTop' if you're in the 'IfL' monad
-- Consider alternat
iv
ely using 'lookupIfaceTop' if you're in the 'IfL' monad
-- and 'Module' is simply that of the 'ModIface' you are typechecking.
lookupOrig
::
Module
->
OccName
->
TcRnIf
a
b
Name
lookupOrig
mod
occ
...
...
compiler/prelude/primops.txt.pp
View file @
ff7094e5
...
...
@@ -2713,7 +2713,7 @@ primop AddrToAnyOp "addrToAny#" GenPrimOp
primop AnyToAddrOp "anyToAddr#" GenPrimOp
a -> State# RealWorld -> (# State# RealWorld, Addr# #)
{ Retrive the address of any Haskell value. This is
{ Retri
e
ve the address of any Haskell value. This is
essentially an {\texttt unsafeCoerce\#}, but if implemented as such
the core lint pass complains and fails to compile.
As a primop, it is opaque to core/stg, and only appears
...
...
compiler/typecheck/TcErrors.hs
View file @
ff7094e5
...
...
@@ -1621,7 +1621,7 @@ mkTyVarEqErr dflags ctxt report ct oriented tv1 ty2
|
OC_Occurs
<-
occ_check_expand
-- We report an "occurs check" even for a ~ F t a, where F is a type
-- function; it's not insouble (because in principle F could reduce)
-- function; it's not inso
l
uble (because in principle F could reduce)
-- but we have certainly been unable to solve it
-- See Note [Occurs check error] in TcCanonical
=
do
{
let
main_msg
=
addArising
(
ctOrigin
ct
)
$
...
...
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