rql #79232 can't use CAST outside selection [validation pending]

it ends up with something like

BadRQLQuery: Any X WHERE X errors XE, X errors CAST(Int, XE)
** using an entity type in only allowed with "is" relation
prioritynormal
typebug
done in0.33.0
load0.200
load left0.000
closed by#dbb9798ea5ad [stcheck] fix visit_constant checker: a etype inside a CAST is a good thing
patch[stcheck] fix visit_constant checker: a etype inside a CAST is a good thing [applied][stcheck] fix syntax checker to allow using CAST outside selection [folded]