File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22
33- Fixed handling of default setters/getters in indentation check [ #391 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/391 )
44- Fixed token tree structure for Sharp(If) inside Kwd(KwdCase) [ #394 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/394 )
5- - Fixed comments in function parameters [ #395 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/394 )
6- - Fixed parser errors when handling block and object declarations, fixes [ #366 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/396 ) ([ #397 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/394 ) )
5+ - Fixed comments in function parameters [ #395 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/395 )
6+ - Fixed parser errors when handling block and object declarations, fixes [ #396 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/396 ) ([ #397 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/397 ) )
7+ - Fixed BkOpen childs in token tree parser [ #398 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/398 )
8+ - Fixed bad offset crash with C++ build on7 Windows 10 [ #398 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/398 )
79- Added unittests for ParserQueue and CheckerPool [ #393 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/393 )
810- Improved wrapped code detection [ #392 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/392 )
911
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class Checker {
6060 }
6161 left = true ;
6262 }
63- if (left ) linesIdx .push ({l :last , r :code .length - 1 });
63+ if (left ) linesIdx .push ({l :last , r :code .length });
6464 }
6565
6666 public function getLinePos (off : Int ): LinePos {
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ class WalkTypeNameDef {
77 WalkTypedefBody .walkTypedefBody (stream , parent );
88 return parent .getFirstChild ();
99 }
10+ if (stream .is (BkOpen )) {
11+ WalkArrayAccess .walkArrayAccess (stream , parent );
12+ return parent .getFirstChild ();
13+ }
1014 if (stream .is (Question )) {
1115 var questTok : TokenTree = stream .consumeTokenDef (Question );
1216 parent .addChild (questTok );
You can’t perform that action at this time.
0 commit comments