Skip to content

Commit

Permalink
fixed array type parameter, fixes #622 (#623)
Browse files Browse the repository at this point in the history
* fixed array type parameter, fixes #622
  • Loading branch information
AlexHaxe authored Nov 4, 2020
1 parent e13a1f7 commit fdd1fba
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
6 changes: 3 additions & 3 deletions haxe3_libraries/tokentree.hxml
Original file line number Diff line number Diff line change
@@ -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
# @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
6 changes: 3 additions & 3 deletions haxe_libraries/tokentree.hxml
Original file line number Diff line number Diff line change
@@ -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
# @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
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions test/testcases/whitespace/issue_622_bracket.hxtest
Original file line number Diff line number Diff line change
@@ -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")]>;

0 comments on commit fdd1fba

Please sign in to comment.