varjo icon indicating copy to clipboard operation
varjo copied to clipboard

case statement with arms that return or discard look like they will produce incorrect type information

Open cbaggers opened this issue 7 years ago • 2 comments

  • open src/vari.cl/special-operators/case.lisp
  • look at the compute-conditional-type-set function
  • the (= num-terminated 1) looks wrong

At first glace I think we want to remove the types of the terminating branches and then carry on as usual (generating the or type in the clause below)

cbaggers avatar Nov 15 '18 09:11 cbaggers

fix is in master

cbaggers avatar Nov 21 '18 22:11 cbaggers

I closed the wrong ticket

cbaggers avatar Nov 21 '18 22:11 cbaggers