Skip to content

Commit

Permalink
prepare 1.0.28 release (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe authored Jun 7, 2020
1 parent 44f5926 commit aa5d790
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 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.0.28 (2020-06-07)

- Expanded `POpen` types in getPOpenType to distinguish between different condition expressions ([#185](https://github.com/HaxeCheckstyle/tokentree/issues/185))
- Fixed type hint detection for anon types ([#186](https://github.com/HaxeCheckstyle/tokentree/issues/186))
- Fixed final position for Haxe 3 ([#186](https://github.com/HaxeCheckstyle/tokentree/issues/186))
Expand Down
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"contributors": [
"AlexHaxe"
],
"releasenote": "fixed null pointer for `private final class` - see CHANGELOG for details",
"version": "1.0.27",
"releasenote": "fixed @in handling, detects more POpen types - see CHANGELOG for details",
"version": "1.0.28",
"url": "https://github.com/HaxeCheckstyle/tokentree",
"dependencies": {}
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tokentree",
"version": "1.0.27",
"version": "1.0.28",
"description": "TokenTree library used by haxe-checkstyle, haxe-formatter and haxe-languageserver",
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"email": "[email protected]"
},
"devDependencies": {
"lix": "^15.8.11"
"lix": "^15.9.0"
},
"bugs": "https://github.com/HaxeCheckstyle/tokentree/issues",
"license": "MIT"
Expand Down
5 changes: 4 additions & 1 deletion src/tokentree/utils/TokenTreeCheckUtils.hx
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,10 @@ class TokenTreeCheckUtils {
case DblDot:
case At:
return true;
case Kwd(KwdDefault):
case Kwd(_):
#if haxe4
case Binop(OpIn):
#end
default:
return false;
}
Expand Down

0 comments on commit aa5d790

Please sign in to comment.