dusa icon indicating copy to clipboard operation
dusa copied to clipboard

Multiply-declared definitions are not checked directly

Open robsimmons opened this issue 1 year ago • 0 comments

In current dusa and rewrite branch dusa, this passes typechecking and then raises a runtime exception:

#builtin NAT_SUCC succ
#builtin NAT_SUCC s
b (s (s (s succ))).

Ideally we'd allow this, I think? But still raise an error when z is not used with the correct arity.

robsimmons avatar Nov 13 '24 14:11 robsimmons