enable enum for dart2js