Skip to content

Commit 189b071

Browse files
committed
use a more stable expr id
1 parent 972bdd7 commit 189b071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RuntimeGeneratedFunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ end
325325

326326
function expr_to_id(ex)
327327
io = IOBuffer()
328-
Serialization.serialize(io, ex)
328+
Meta.show_sexpr(io, Base.remove_linenums!(deepcopy(ex)))
329329
return Tuple(reinterpret(UInt32, sha1(take!(io))))
330330
end
331331

0 commit comments

Comments
 (0)