Skip to content

Fix braceless functions #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions baselines/AbstractClasses.hx.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ abstract class A {
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx keyword.operator.type.annotation.hx
source.hx meta.class.hx meta.block.hx keyword.operator.type.annotation.hx
^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx support.class.builtin.hx
source.hx meta.class.hx meta.block.hx support.class.builtin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx punctuation.terminator.hx
source.hx meta.class.hx meta.block.hx punctuation.terminator.hx
>}
^
source.hx meta.class.hx meta.block.hx punctuation.definition.block.end.hx
Expand Down
1,706 changes: 1,706 additions & 0 deletions baselines/BracelessFunctions.hx.baseline.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions baselines/CommentsInDeclarations.hx.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -538,15 +538,15 @@ public function dispatch2(/**/?/**/value1/**/:/**/T1/**/<T2>/**/ = /**/ "" /**/,
^
source.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.method.hx keyword.operator.type.annotation.hx
source.hx
^^^^
source.hx meta.method.hx support.class.builtin.hx
source.hx support.class.builtin.hx
>{
^
source.hx meta.method.hx punctuation.definition.block.begin.hx
source.hx punctuation.definition.block.begin.hx
>}
^
source.hx meta.method.hx meta.method.block.hx punctuation.definition.block.end.hx
source.hx punctuation.definition.block.end.hx
>
^
source.hx
200 changes: 100 additions & 100 deletions baselines/ConditionalCompilation.hx.baseline.txt

Large diffs are not rendered by default.

116 changes: 59 additions & 57 deletions baselines/InlineFunctions.hx.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,117 +34,119 @@ class Foo {
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx punctuation.definition.block.begin.hx
source.hx meta.class.hx meta.block.hx punctuation.definition.block.begin.hx
> f(function():Void 0 < 1);
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx entity.name.function.hx
source.hx meta.class.hx meta.block.hx entity.name.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.brace.round.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx storage.type.function.hx
source.hx meta.class.hx meta.block.hx meta.method.hx storage.type.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.type.annotation.hx
source.hx meta.class.hx meta.block.hx keyword.operator.type.annotation.hx
^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx support.class.builtin.hx
source.hx meta.class.hx meta.block.hx support.class.builtin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx constant.numeric.decimal.hx
source.hx meta.class.hx meta.block.hx constant.numeric.decimal.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.comparison.hx
source.hx meta.class.hx meta.block.hx keyword.operator.comparison.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx constant.numeric.decimal.hx
source.hx meta.class.hx meta.block.hx constant.numeric.decimal.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx punctuation.terminator.hx
source.hx meta.class.hx meta.block.hx punctuation.terminator.hx
> f(function():Void a < b);
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx entity.name.function.hx
source.hx meta.class.hx meta.block.hx entity.name.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.brace.round.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx storage.type.function.hx
source.hx meta.class.hx meta.block.hx meta.method.hx storage.type.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.type.annotation.hx
source.hx meta.class.hx meta.block.hx keyword.operator.type.annotation.hx
^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx support.class.builtin.hx
source.hx meta.class.hx meta.block.hx support.class.builtin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx variable.other.hx
source.hx meta.class.hx meta.block.hx variable.other.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.comparison.hx
source.hx meta.class.hx meta.block.hx keyword.operator.comparison.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx variable.other.hx
source.hx meta.class.hx meta.block.hx variable.other.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx punctuation.terminator.hx
source.hx meta.class.hx meta.block.hx punctuation.terminator.hx
> f(function():Void<Dynamic> a < b);
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx entity.name.function.hx
source.hx meta.class.hx meta.block.hx entity.name.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.brace.round.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx storage.type.function.hx
source.hx meta.class.hx meta.block.hx meta.method.hx storage.type.function.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.begin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
source.hx meta.class.hx meta.block.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.type.annotation.hx
source.hx meta.class.hx meta.block.hx keyword.operator.type.annotation.hx
^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx support.class.builtin.hx
source.hx meta.class.hx meta.block.hx support.class.builtin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.type-parameters.hx punctuation.definition.typeparameters.begin.hx
source.hx meta.class.hx meta.block.hx meta.type-parameters.hx punctuation.definition.typeparameters.begin.hx
^^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.type-parameters.hx support.class.builtin.hx
source.hx meta.class.hx meta.block.hx meta.type-parameters.hx support.class.builtin.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx meta.type-parameters.hx punctuation.definition.typeparameters.end.hx
source.hx meta.class.hx meta.block.hx meta.type-parameters.hx punctuation.definition.typeparameters.end.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx variable.other.hx
source.hx meta.class.hx meta.block.hx variable.other.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx keyword.operator.comparison.hx
source.hx meta.class.hx meta.block.hx keyword.operator.comparison.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx variable.other.hx
source.hx meta.class.hx meta.block.hx variable.other.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx
source.hx meta.class.hx meta.block.hx meta.brace.round.hx
^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx meta.method.hx punctuation.terminator.hx
source.hx meta.class.hx meta.block.hx punctuation.terminator.hx
> }
^^^^^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx
^^^^
source.hx meta.class.hx meta.block.hx
^
source.hx meta.class.hx meta.block.hx punctuation.definition.block.end.hx
>}
^^
source.hx meta.class.hx meta.block.hx meta.method.hx meta.method.block.hx
^
source.hx meta.class.hx meta.block.hx punctuation.definition.block.end.hx
6 changes: 3 additions & 3 deletions baselines/Issue10.hx.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class Foo<T> {}
^
source.hx meta.method.hx meta.parameters.hx punctuation.definition.parameters.end.hx
^
source.hx meta.method.hx
source.hx
^
source.hx meta.method.hx punctuation.definition.block.begin.hx
source.hx punctuation.definition.block.begin.hx
^
source.hx meta.method.hx meta.method.block.hx punctuation.definition.block.end.hx
source.hx punctuation.definition.block.end.hx
Loading