hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

Map toString brackets

Open RblSb opened this issue 5 years ago • 2 comments

Changes brackets style in maps for https://github.com/HaxeFoundation/haxe/pull/9260

RblSb avatar Mar 14 '20 07:03 RblSb

Is the intention here to have Map display differently from Dynamic ? If you want to restrict it to a particular version (eg, haxe 4.1) there is going to need to be some conditional-compiling in the c++ code.

hughsando avatar Mar 27 '20 06:03 hughsando

The intention is to have Map display the same as in Haxe syntax: [key => value]

RealyUniqueName avatar Mar 30 '20 09:03 RealyUniqueName

Hmm yeah, updating hxcpp should not cause any printing changes on Haxe versions < 4.3.

Simn avatar Mar 26 '23 12:03 Simn

This looks good to me now that everything is hidden behind an API check.

Simn avatar Mar 31 '23 12:03 Simn