cannot close over mutable fields (in deftype)

Description

Simplest case:

Functions should be able to mutate mutable fields in their surrounding deftype (just like inner classes do in Java).

Filed as bug, because the loop special form expands into a fn form sometimes:

Environment

None

Assignee

Unassigned

Reporter

import

Labels

Approval

Vetted

Patch

None

Fix versions

Priority

Major
Configure