We're updating the issue view to help you get more done. 

Self-host: arithmetic form meta missing :numeric

Description

If you analyze (+ 1 1) in bootstrap, you won't get :numeric true in the form-meta in analyze-js-star*.

In regular ClojureScript, you'll get:

1 {:js-op cljs.core/+, :numeric true}

but in bootstrap, you'll get:

1 {:js-op cljs.core/+}

You can see this as well if you look at the Analysis section of David's "ClojureScript Next" blog post, where you get :numeric nil in the AST rather than :numeric true.

One consequence is that :invalid-arithmetic analysis diagnostics won't be emitted in bootstrapped environments.

Environment

None

Status

Assignee

David Nolen

Reporter

Mike Fikes

Labels

Approval

None

Patch

None

Affects versions

1.7.145

Priority

Minor