Self-host: :redef-in-file doesn't trigger for bootstrapped

Description

If you redefine a symbol in a file and require that file using self-hosted ClojureScript, the :redef-in-file diagnostic doesn't trigger.

It is difficult to create a minimal repro for this, as it requires a setup that loads files. (Perhaps one can be made with the script/test-self-parity infrastructure).

It appears that this can be resolved by setting ana/file-defs at the right places and unsetting it at the right async completion points.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created July 16, 2017 at 4:15 PM
Updated July 16, 2017 at 4:15 PM