File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
src/checkstyle/checks/whitespace Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1111- Added unittests for ParserQueue and CheckerPool [ #393 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/393 )
1212- Added unittests for TokenTree structure verification [ #400 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/400 )
1313- Removed ` . ` from default settings in SeparatorWrapCheck [ #400 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/400 )
14- - Improved wrapped code detection [ #392 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/392 )
14+ - Improved wrapped code detection [ #392 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/392 ) + [ # 403 ] ( https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/403 )
1515
1616## version 2.2.1
1717
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ class IndentationCheck extends Check {
193193 for (token in tokenList ) {
194194 var pos = token .getPos ();
195195 var child : TokenTree = token .getFirstChild ();
196+ if (token .is (Dot )) pos = token .parent .getPos ();
196197 if (child .is (BkOpen )) continue ;
197198 ignoreRange (pos , wrapped );
198199 }
Original file line number Diff line number Diff line change @@ -162,6 +162,9 @@ long comment
162162 .data()
163163 .build()
164164 .run();
165+ builder
166+ .create
167+ .something();
165168 }
166169}
167170/*
You can’t perform that action at this time.
0 commit comments