Skip to content

Commit 305aa3b

Browse files
Mention __imag__ in typeOfRealAndImagComponents error message
Closes cil-project#40
1 parent d61cfa6 commit 305aa3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cil.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ let typeOfRealAndImagComponents t =
16211621
| FComplexLongDouble -> FLongDouble
16221622
in
16231623
TFloat (newfkind fkind, attrs)
1624-
| _ -> E.s (E.bug "unexpected non-numerical type for argument to __real__")
1624+
| _ -> E.s (E.bug "unexpected non-numerical type for argument to __real__/__imag__ ")
16251625

16261626
(** for an fkind, return the corresponding complex fkind *)
16271627
let getComplexFkind = function

0 commit comments

Comments
 (0)