Record type name and advanced optimization

Description

It is not possible to query type name in advanced compilation.
Code below prints correct record name in other compilation modes, but under advanced compilation it prints constructor source code.

1 2 3 4 5 6 7 (defrecord FooBar [a]) (def fb (FooBar. 1)) (prn (-> fb)) (prn (-> fb type)) (prn (-> fb type pr-str))

Environment

None

Status

Assignee

Unassigned

Reporter

Daniel Skarda

Labels

None

Approval

None

Patch

None

Affects versions

0.0-3058

Priority

Minor