Skip to content

Commit f2607e0

Browse files
committed
Eliminate EStringListNF
1 parent 10e58f9 commit f2607e0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/comp/Error.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,6 @@ data ErrMsg =
10041004
| EModuleUndet
10051005
| EModuleUndetNoMatch
10061006
| EStringNF String
1007-
| EStringListNF String
10081007
| ENoNF String String
10091008
| EHasImplicit String
10101009
| EModPortHasImplicit String String
@@ -3944,9 +3943,6 @@ getErrorText (WRuleUndetPred is_meth rule poss) =
39443943
nest 4 (vcat (map (text . prPosition) poss))
39453944
)
39463945

3947-
getErrorText (EStringListNF s) =
3948-
(Generate 129, empty, s2par ("Not a compile time string list: " ++ s))
3949-
39503946

39513947
---------------------------------------------------------------------------
39523948
---------------------------------------------------------------------------

src/comp/IExpand.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,7 @@ evalStringList e = do
21302130
else if i == idPrimChr then return ([], getIExprPosition e')
21312131
else internalError ("evalStringList con: " ++ show i)
21322132
_ -> do e'' <- unheapAll e'
2133-
errG (getIExprPosition e', EStringListNF (ppString e'))
2133+
eNoNF e''
21342134

21352135
-----------------------------------------------------------------------------
21362136

0 commit comments

Comments
 (0)