Closed JLimperg closed 1 year ago
attribute [aesop safe cases] C where C := Option Nat should be legal. Currently, the cases builder complains that C is not an inductive type.
attribute [aesop safe cases] C
C := Option Nat
cases
C
This is actually more effort than I thought since we would need to adjust the indexing and patterns option as well. So wontfix. If this ever gets reopened, make sure that constructor gets symmetric treatment.
patterns
constructor
attribute [aesop safe cases] C
whereC := Option Nat
should be legal. Currently, thecases
builder complains thatC
is not an inductive type.