getCompilePasses must return an array