Named anonymous fn's are not guaranteed to have unique class names when AOT-compiled.
When AOT-compiled both functions will emit user$g.class, the latter overwriting the former.
Demonstration script: demo1.clj
Approach: Generate unique class names for named fn's the same way as for unnamed anonymous fn's.
See also: This patch also fixes the issue reported in