The invention relates to novel heterocyclic compounds of the formula in which all of the variables are as defined in the specification, to their preparation, to their medical use, in particular to their use in the treatment of cancer and neurodegenrative disorders, and to medicaments comprising them.本發明係關於新穎的下式之雜環化合物其中所有變數均如本說明書中定義,其製備方法,其醫藥用途,尤其治療癌症及神經退化性病症之用途,及含有其之藥劑。