Commit 2f436151 authored by Gabor Greif's avatar Gabor Greif 💬
Browse files

Fix grammaros in comments

parent ed48d133
......@@ -213,7 +213,7 @@ WorkWrap (see Note [Wrapper activation]). We can tell because noUserInlineSpec
is then true.
Note that we do not (currently) do CSE on the unfolding stored inside
an Id, even if is a 'stable' unfolding. That means that when an
an Id, even if it is a 'stable' unfolding. That means that when an
unfolding happens, it is always faithful to what the stable unfolding
originally was.
......
......@@ -401,7 +401,7 @@ situation actually arises in GHC.IO.Handle.Internals.wantReadableHandle
So if the scrutinee is a primop call, we *don't* apply the
state hack:
- If is a simple, terminating one like getMaskingState,
- If it is a simple, terminating one like getMaskingState,
applying the hack is over-conservative.
- If the primop is raise# then it returns bottom, so
the case alternatives are already discarded.
......
......@@ -49,7 +49,7 @@ Dumping out compiler intermediate structures
be a bit more eager in forcing pass results to more accurately account for
their costs.
Two types of messages are produced: Those beginning with ``***`` are
Two types of messages are produced: Those beginning with ``***`` do
denote the beginning of a compilation phase whereas those starting with
``!!!`` mark the end of a pass and are accompanied by allocation and
runtime statistics.
......
......@@ -249,7 +249,7 @@ lockPackageDbWith mode file = do
-- opened for write access. We would previously try opening the lockfile for
-- read-only access first, however this failed when run on such filesystems.
-- Consequently, we now try read-write access first, falling back to read-only
-- if are denied permission (e.g. in the case of a global database).
-- if we are denied permission (e.g. in the case of a global database).
catchJust
(\e -> if isPermissionError e then Just () else Nothing)
(lockFileOpenIn ReadWriteMode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment