我有: type color : [ blue = 1,white = 2]; 我想扩展这种类型并添加: 黑色=0 我该怎么做? 谢谢,
type color : [ blue = 1,white = 2];
你可以扩展类型-
extend color : [ black = 0];