Closed vendethiel closed 11 years ago
something designed
Yep. Same for else
.
I can see the why for else, since it's always falsy, but that's not the case for default
Hm. Normal switch
is an oddball for anaphorization to begin with: the topic isn't a truthy-check unlike others.
Options:
switch
(with topic).switch
at all.else
/default
as well.Not sure what you mean "with topic" ?
I suppose it could be added to else too (got into this case only once) for consistency with default, but that doesn't make must sense to me.
switch topic # <--
case candidate
...
switch # topic-less
case condition
...
3) or 5) anaphorize default
but do not anaphorize topicless switch
:D.
do not anaphorize topicless
switch
Why?
Because I had no idea it was giving this result. My bad, I retract that point. (I hardly see anaphorization for default in topic-less switch)
I would opine to anaphorize default
as well.
That's maybe something designed, but
that
isn't anaphorized (switch a; case 1 then; default that
) becausedefault
is not inSwitch
'saTargets
(I know you know).