repl: do not make ERROR_REPORT a module-level global

4 jobs for aliases_refactoring in 34 minutes and 39 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Style
passed #38696
check_style

00:00:20

 
  Tests
passed #38697
run_tests:source

00:32:37

33.0%
 
  Build
passed #38698
create_doc:reference

00:01:41

passed #38699
create_doc:user

00:01:21