Propagate type information through `identity`

Description

We could propagate type information back for calls to cljs.core/identity based on its argument type. For example (identity 1) would resolve to number.

Environment

None

Activity

Show:
Roman Liutikov
January 23, 2020, 11:46 AM

Attached CLJS-3180-2.patch

Mike Fikes
December 7, 2019, 5:18 AM

CLJS-3180.patch no longer applies.

Mike Fikes
November 9, 2019, 3:22 PM
Edited

CLJS-3180.patch

Travis

Details

AppVeyor

Details

Canary

Details

Patch Tender

Details

Roman Liutikov
November 8, 2019, 1:14 PM

Attached patch with tests. This lays out the base for future implementations for apply, comp and partial core function.

Assignee

Mike Fikes

Reporter

Roman Liutikov

Labels

None

Approval

None

Patch

Code and Test

Priority

Major