Cljc reader conditionals in ns form cause core.typed to skip checking namespace

Description

Problem

(See the following code repository for a working example: https://github.com/frenchy64/typed-cljc-bug)

When cljc reader conditionals (#? and #?@) are used in the ns form of a cljc file, check-ns returns :ok, but does not actually check the namespace.

The following error message is displayed, complaining of a lacking NS form:

Solution

Bump tools.namespace to 0.2.11.

Pull request: 93
Commit: 9beca4b8
Version: 0.3.20

Environment

None

Assignee

Ambrose Bonnaire-Sergeant

Reporter

import

Labels

None

Approval

None

Patch

None

Components

Fix versions

Affects versions

Priority

Minor
Configure