diff --git a/CHANGELOG.md b/CHANGELOG.md index b832232..6ba5252 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## dev branch / next version (1.x.x) +## version 1.11.2 (2020-11-04) + +- Fixed array type parameter, fixes [#622](https://github.com/HaxeCheckstyle/haxe-formatter/issues/622) ([#623](https://github.com/HaxeCheckstyle/haxe-formatter/issues/623)) + ## version 1.11.1 (2020-11-03) - Fixed whitespace for negative const values ([#600](https://github.com/HaxeCheckstyle/haxe-formatter/issues/600)) diff --git a/haxe3_libraries/tokentree.hxml b/haxe3_libraries/tokentree.hxml index b6c35fe..01425fe 100644 --- a/haxe3_libraries/tokentree.hxml +++ b/haxe3_libraries/tokentree.hxml @@ -1,3 +1,3 @@ -# @install: lix --silent download "haxelib:/tokentree#1.0.30" into tokentree/1.0.30/haxelib --cp ${HAXE_LIBCACHE}/tokentree/1.0.30/haxelib/src --D tokentree=1.0.30 \ No newline at end of file +# @install: lix --silent download "haxelib:/tokentree#1.0.31" into tokentree/1.0.31/haxelib +-cp ${HAXE_LIBCACHE}/tokentree/1.0.31/haxelib/src +-D tokentree=1.0.31 \ No newline at end of file diff --git a/haxe_libraries/tokentree.hxml b/haxe_libraries/tokentree.hxml index b6c35fe..01425fe 100644 --- a/haxe_libraries/tokentree.hxml +++ b/haxe_libraries/tokentree.hxml @@ -1,3 +1,3 @@ -# @install: lix --silent download "haxelib:/tokentree#1.0.30" into tokentree/1.0.30/haxelib --cp ${HAXE_LIBCACHE}/tokentree/1.0.30/haxelib/src --D tokentree=1.0.30 \ No newline at end of file +# @install: lix --silent download "haxelib:/tokentree#1.0.31" into tokentree/1.0.31/haxelib +-cp ${HAXE_LIBCACHE}/tokentree/1.0.31/haxelib/src +-D tokentree=1.0.31 \ No newline at end of file diff --git a/haxelib.json b/haxelib.json index 2d3b4ce..1311e66 100644 --- a/haxelib.json +++ b/haxelib.json @@ -8,8 +8,8 @@ "style" ], "description": "A code formatter for Haxe", - "version": "1.11.1", - "releasenote": "fixed indentation issues - see CHANGELOG for details.", + "version": "1.11.2", + "releasenote": "fixed array type parameter - see CHANGELOG for details.", "contributors": [ "AlexHaxe", "Gama11" diff --git a/package.json b/package.json index 6c63403..b9e0876 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@haxecheckstyle/haxe-formatter", - "version": "1.11.1", + "version": "1.11.2", "description": "A code formatter for Haxe", "repository": { "type": "git", diff --git a/test/testcases/whitespace/issue_622_bracket.hxtest b/test/testcases/whitespace/issue_622_bracket.hxtest new file mode 100644 index 0000000..7203070 --- /dev/null +++ b/test/testcases/whitespace/issue_622_bracket.hxtest @@ -0,0 +1,9 @@ +{} + +--- + +private typedef Init = haxe.macro.MacroType<[cdb.Module.build("data.cdb")]>; + +--- + +private typedef Init = haxe.macro.MacroType<[cdb.Module.build("data.cdb")]>;