Commit 458a97b8 authored by Vikraman Choudhury's avatar Vikraman Choudhury Committed by Austin Seipp

Fix typo: identifer -> identifier

I noticed this typo while using template haskell.
Signed-off-by: default avatarVikraman Choudhury <git@vikraman.org>

Test Plan:
```
λ> :set -XTemplateHaskell
λ> :m +Language.Haskell.TH
λ> data Foo = Foo
λ> $(conE ''Foo)
<interactive>:9:9:
    Type constructor ‘Foo’ used where a value identifier was expected
    In the expression: Foo
    In an equation for ‘f’: f = Foo

```

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D871
parent f7daf5af
......@@ -1109,7 +1109,7 @@ tc_infer_id orig id_name
PatSynCon ps -> tcPatSynBuilderOcc orig ps
_ -> failWithTc $
ppr thing <+> ptext (sLit "used where a value identifer was expected") }
ppr thing <+> ptext (sLit "used where a value identifier was expected") }
where
inst_normal_id id
= do { (wrap, rho) <- deeplyInstantiate orig (idType id)
......
{-# OPTIONS -fwarn-unused-binds #-}
module ShouldCompile where
-- !!! should produce warnings about unused identifers
-- !!! should produce warnings about unused identifiers
x :: [()]
x = [ () | y <- [] ]
......
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