No warning about unqualified calls to private function in cljs.core

Description

Problem:

The CLJS compiler does not warn about unqualified calls to private functions in cljs.core.

Repro:

Expected:

A warning about calling the private function maybe-warn from cljs.core.

Note that it does work when you fully qualify the call. E.g.:

Environment

None

Activity

Show:
Roman Liutikov
August 22, 2019, 7:42 AM

Ooops, sorry. Jira’s uploader doesn’t work sometimes for me. Done.

Mike Fikes
August 22, 2019, 12:46 AM

Hey Roman, it looks like the patch didn't get attached.

Roman Liutikov
August 21, 2019, 4:34 PM

Attached patch with a fix

Mike Fikes
August 20, 2019, 1:45 AM

CLJS-3069.patch triggers the diagnostic when defining a Var with a name matching a private core Var:

Assignee

Roman Liutikov

Reporter

Michiel Borkent

Labels

None

Approval

None

Patch

Code and Test

Priority

Major