Skip to content

Commit

Permalink
prepare v1.1.2 (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe authored Oct 17, 2018
1 parent d365a22 commit 19f2f3b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## dev branch / next version (1.x.x)

## version 1.1.2 (2018-10-17)

- Added indentation support for `Binop(OpAssignOp(_))` [#245](https://github.com/HaxeCheckstyle/haxe-formatter/issues/245)
- Fixed endless loop during wrapping of `#if (macro)` [#245](https://github.com/HaxeCheckstyle/haxe-formatter/issues/245)

Expand Down
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.1.1",
"releasenote": "added method chain wrapping, refactored whitespace and newline handling - see CHANGELOG for details.",
"version": "1.1.2",
"releasenote": "fixed an endless loop when using #if (macro) - 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": "haxe-formatter",
"version": "1.1.1",
"version": "1.1.2",
"description": "A code formatter for Haxe",
"repository": {
"type": "git",
Expand Down
14 changes: 14 additions & 0 deletions test/testcases/other/sharp_if_parens_macro_hang.hxtest
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ class Main {
static function main() {
}
#end
#if (!macro)
static function main() {}
#end
#if !macro
static function main() {}
#end
}

---
Expand All @@ -15,4 +21,12 @@ class Main {
#if (macro)
static function main() {}
#end

#if (!macro)
static function main() {}
#end

#if !macro
static function main() {}
#end
}

0 comments on commit 19f2f3b

Please sign in to comment.