message: fix(compiler): do not error if $any is used inside a listener
  Fixes that `$any` casts weren't being converted to statements inside listeners which resulted in a compiler error.
  Fixes
  PR Close
diff: @@ -610,8 +610,10 @@ class _AstToIrVisitor implements cdAst.AstVisitor {
  throw new Error(`Invalid call to $any, expected 1 argument but received ${
  convertedArgs.length || 'none'}`);
  }
  - return (convertedArgs[0] as o.Expression)
  - .cast(o.DYNAMIC_TYPE, this.convertSourceSpan(ast.span));
  + return convertToStatementIfNeeded(
  + mode,
  + (convertedArgs[0] as o.Expression)
  + .cast(o.DYNAMIC_TYPE, this.convertSourceSpan(ast.span)));
  }
  const leftMostSafe = this.leftMostSafeNode(ast);
  