Fix #2415 delete the AST cache

See #2415