cast doesn't work for recursive types

Description

I have a simple recursive type for Json and JsonMaps:

These seem to work fine for type checking and as predicates, but raise when I use them to cast a value:

Environment

None

Activity

Show:
Ambrose Bonnaire-Sergeant
December 3, 2017, 10:52 PM

No plan to implement myself.

Declined
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Ambrose Bonnaire-Sergeant

Reporter

import