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,326
Issues
4,326
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
363
Merge Requests
363
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
99adcc88
Commit
99adcc88
authored
Jul 06, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos in comments [ci skip]
parent
f3979b7f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
compiler/hsSyn/HsImpExp.hs
compiler/hsSyn/HsImpExp.hs
+1
-1
compiler/main/HscMain.hs
compiler/main/HscMain.hs
+1
-1
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcHsType.hs
+1
-1
docs/users_guide/ffi-chap.rst
docs/users_guide/ffi-chap.rst
+1
-1
includes/stg/Ticky.h
includes/stg/Ticky.h
+1
-1
rts/Apply.cmm
rts/Apply.cmm
+1
-1
rts/PrimOps.cmm
rts/PrimOps.cmm
+1
-1
utils/hpc/HpcFlags.hs
utils/hpc/HpcFlags.hs
+1
-1
No files found.
compiler/hsSyn/HsImpExp.hs
View file @
99adcc88
...
...
@@ -139,7 +139,7 @@ instance (OutputableBndrId pass) => Outputable (ImportDecl pass) where
************************************************************************
-}
-- | A name in an import or export specfication which may have adornments. Used
-- | A name in an import or export spec
i
fication which may have adornments. Used
-- primarily for accurate pretty printing of ParsedSource, and API Annotation
-- placement.
data
IEWrappedName
name
...
...
compiler/main/HscMain.hs
View file @
99adcc88
...
...
@@ -1119,7 +1119,7 @@ markUnsafeInfer tcg_env whyUnsafe = do
mkPlainWarnMsg
dflags
(
warnUnsafeOnLoc
dflags
)
(
whyUnsafe'
dflags
))
liftIO
$
writeIORef
(
tcg_safeInfer
tcg_env
)
(
False
,
whyUnsafe
)
-- NOTE: Only wipe trust when not in an explicity safe haskell mode. Other
-- NOTE: Only wipe trust when not in an explicit
l
y safe haskell mode. Other
-- times inference may be on but we are in Trustworthy mode -- so we want
-- to record safe-inference failed but not wipe the trust dependencies.
case
safeHaskell
dflags
==
Sf_None
of
...
...
compiler/typecheck/TcHsType.hs
View file @
99adcc88
...
...
@@ -1845,7 +1845,7 @@ tcHsPartialSigType ctxt sig_ty
;
explicit_tvs
<-
mapM
zonkTyCoVarKind
explicit_tvs
;
let
all_tvs
=
implicit_tvs
++
explicit_tvs
-- The implicit_tvs alr
ae
dy have zonked kinds
-- The implicit_tvs alr
ea
dy have zonked kinds
;
theta
<-
mapM
zonkTcType
theta
;
tau
<-
zonkTcType
tau
...
...
docs/users_guide/ffi-chap.rst
View file @
99adcc88
...
...
@@ -34,7 +34,7 @@ The FFI addendum stipulates that an implementation is free to implement an
arbitrary thread and may be subject to concurrent garbage collection). This
greatly constrains library authors since it implies that it is never safe to
pass any heap object reference to a foreign function, even if invoked with an
``unsafe`` call. For instance, it is often desir
e
able to pass an unpinned
``unsafe`` call. For instance, it is often desirable to pass an unpinned
``ByteArray#``\s directly to native code to avoid making an
otherwise-unnecessary copy. However, this can only be done safely under
``unsafe`` call semantics as otherwise the array may be moved by the garbage
...
...
includes/stg/Ticky.h
View file @
99adcc88
...
...
@@ -30,7 +30,7 @@ extern W_ ticky_entry_ctrs[];
extern
W_
top_ct
[];
#endif
/* The rest are not explicity declared in rts/Ticky.c. Instead
/* The rest are not explicit
l
y declared in rts/Ticky.c. Instead
we use the same trick as in the former StgTicky.h: recycle the
same declarations for both extern decls (which are included everywhere)
and initializations (which only happen once)
...
...
rts/Apply.cmm
View file @
99adcc88
...
...
@@ -462,7 +462,7 @@ middle of an ST action multiple times, resulting in duplication of effects.
In short, the construction of an AP_STACK allows us to suspend a computation
which should not be duplicated. When running with lazy blackholing, we can then
enter this AP_STACK multiple times, duplicating the computation with potentially
disast
e
rous consequences.
disastrous consequences.
For instance, consider the case of a simple ST program which computes a sum
using in─place mutation,
...
...
rts/PrimOps.cmm
View file @
99adcc88
...
...
@@ -148,7 +148,7 @@ stg_isByteArrayPinnedzh ( gcptr ba )
W_
bd
,
flags
;
bd
=
Bdescr
(
ba
);
// Pinned byte arrays live in blocks with the BF_PINNED flag set.
// We also consider BF_LARGE objects to be
unmove
able. See #13894.
// We also consider BF_LARGE objects to be
immov
able. See #13894.
// See the comment in Storage.c:allocatePinned.
flags
=
TO_W_
(
bdescr_flags
(
bd
));
return
(
flags
&
(
BF_PINNED
|
BF_LARGE
)
!=
0
);
...
...
utils/hpc/HpcFlags.hs
View file @
99adcc88
...
...
@@ -194,7 +194,7 @@ data Plugin = Plugin { name :: String
-- filterModules takes a list of candidate modules,
-- and
-- * excludes the excluded modules
-- * includes the rest if there are no explicity included modules
-- * includes the rest if there are no explicit
l
y included modules
-- * otherwise, accepts just the included modules.
allowModule
::
Flags
->
String
->
Bool
...
...
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