Eliminate redundant nil check in pr-sequential-writer

Description

In cljs.core/pr-sequential-writer, there is a loop that initializes n to be the result of dec, and upon recur, dec is also caused to form the next value of n.

In the scope of that loop there is an expression

which can be simplified to

because n is known to be a number, and cannot be nil.

Environment

None

Assignee

David Nolen

Reporter

Mike Fikes

Labels

Approval

None

Patch

Code

Priority

Minor
Configure