Open Geod24 opened 3 years ago
import ocean.text.convert.Formatter; enum Protocol { HTTP = 0, http = HTTP, } void main () { auto x = format("{}", Protocol.init); }
submodules/ocean/src/ocean/text/convert/Formatter.d(395): Error: duplicate case http in switch statement submodules/ocean/src/ocean/text/convert/Formatter.d(280): Error: template instance ocean.text.convert.Formatter.handle!(Protocol) error instantiating submodules/ocean/src/ocean/text/convert/Formatter.d(137): instantiated from here: sformat!(Protocol) foo.d(7): instantiated from here: format!(Protocol)