groovy.git
2 days agoRemove redundant method call and improve resolving determinacy master
Daniel Sun [Wed, 16 Jan 2019 14:46:02 +0000 (22:46 +0800)] 
Remove redundant method call and improve resolving determinacy

2 days agoGROOVY-7812: Static inner classes cannot be accessed from other files when running...
Daniel Sun [Wed, 16 Jan 2019 13:54:22 +0000 (21:54 +0800)] 
GROOVY-7812: Static inner classes cannot be accessed from other files when running by 'groovy' command(closes #853)

7 days agoGROOVY-8951: Traits defining getter conflicts with generated getter (improvements...
Paul King [Tue, 8 Jan 2019 03:13:08 +0000 (13:13 +1000)] 
GROOVY-8951: Traits defining getter conflicts with generated getter (improvements for pre-compiled case) (closes #851)

7 days agoGROOVY-8954: VerifyError due to incorrect bytecode produced when a trait super proper...
Paul King [Fri, 11 Jan 2019 08:20:13 +0000 (18:20 +1000)] 
GROOVY-8954: VerifyError due to incorrect bytecode produced when a trait super property call also comes from an interface (closes #852)

7 days agoAdd a test to reproduce "GROOVY-7812: Static inner classes cannot be accessed from...
Daniel Sun [Fri, 11 Jan 2019 19:07:03 +0000 (03:07 +0800)] 
Add a test to reproduce "GROOVY-7812: Static inner classes cannot be accessed from other files when running by 'groovy' command"

7 days agoAdd a test for "GROOVY-7812: Static inner classes cannot be accessed from other files...
Daniel Sun [Fri, 11 Jan 2019 16:58:38 +0000 (00:58 +0800)] 
Add a test for "GROOVY-7812: Static inner classes cannot be accessed from other files when running by 'groovy' command"

9 days agowhitespace/formatting plus cleanup/remove @author tags as per Apache recommended...
Paul King [Wed, 9 Jan 2019 04:43:02 +0000 (14:43 +1000)] 
whitespace/formatting plus cleanup/remove @author tags as per Apache recommended practices cont'd

10 days agowhitespace/formatting plus cleanup/remove @author tags as per Apache recommended...
Paul King [Wed, 9 Jan 2019 01:17:38 +0000 (11:17 +1000)] 
whitespace/formatting plus cleanup/remove @author tags as per Apache recommended practices cont'd

11 days agoCapitalize menu item name("Enable smart highlighter") of groovy console
Daniel Sun [Mon, 7 Jan 2019 14:43:56 +0000 (22:43 +0800)] 
Capitalize menu item name("Enable smart highlighter") of groovy console

11 days agoGROOVY-8947: Fail to resolve non-static inner class outside of outer class(closes...
Daniel Sun [Mon, 7 Jan 2019 13:56:34 +0000 (21:56 +0800)] 
GROOVY-8947: Fail to resolve non-static inner class outside of outer class(closes #850)

12 days agoGROOVY-8949: Run dependency management call as privileged action(closes #848)
Dimitry Polivaev [Tue, 1 Jan 2019 14:48:14 +0000 (15:48 +0100)] 
GROOVY-8949: Run dependency management call as privileged action(closes #848)

13 days agoGROOVY-8945: Improve performance of DGM `groupBy` and `countBy`(closes #849)
Daniel Sun [Sat, 5 Jan 2019 13:50:34 +0000 (21:50 +0800)] 
GROOVY-8945: Improve performance of DGM `groupBy` and `countBy`(closes #849)

2 weeks agoGROOVY-8942: Highlight matched parentheses, brackets and curly braces in Groovy Conso...
Daniel Sun [Fri, 4 Jan 2019 17:18:27 +0000 (01:18 +0800)] 
GROOVY-8942: Highlight matched parentheses, brackets and curly braces in Groovy Console when caret touching them(closes #847)

2 weeks agowhitespace/formatting plus cleanup/remove @author tags as per Apache recommended...
Paul King [Tue, 1 Jan 2019 22:45:39 +0000 (08:45 +1000)] 
whitespace/formatting plus cleanup/remove @author tags as per Apache recommended practices cont'd

2 weeks agowhitespace/formatting plus cleanup/remove @author tags as per Apache recommended...
Paul King [Tue, 1 Jan 2019 22:35:36 +0000 (08:35 +1000)] 
whitespace/formatting plus cleanup/remove @author tags as per Apache recommended practices cont'd

2 weeks agocleanup/remove @author tags as per Apache recommended practices cont'd
Paul King [Tue, 1 Jan 2019 09:42:01 +0000 (19:42 +1000)] 
cleanup/remove @author tags as per Apache recommended practices cont'd

2 weeks agotest already covered by groovyTestCase cases
Paul King [Tue, 1 Jan 2019 09:21:07 +0000 (19:21 +1000)] 
test already covered by groovyTestCase cases

2 weeks agocleanup/remove @author tags as per Apache recommended practices cont'd
Paul King [Tue, 1 Jan 2019 06:18:31 +0000 (16:18 +1000)] 
cleanup/remove @author tags as per Apache recommended practices cont'd

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-bsf, groov...
Paul King [Fri, 28 Dec 2018 12:09:24 +0000 (22:09 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-bsf, groovy-jmx, groovy-json, groovy-jsr223

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-swing...
Paul King [Fri, 28 Dec 2018 04:29:02 +0000 (14:29 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-swing (typo)

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-nio, groov...
Paul King [Fri, 28 Dec 2018 03:38:26 +0000 (13:38 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-nio, groovy-swing, groovy-templates

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-test,...
Paul King [Thu, 27 Dec 2018 23:52:45 +0000 (09:52 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-test, groovy-xml, parser-antlr4

3 weeks agofix typo
Paul King [Thu, 27 Dec 2018 23:17:53 +0000 (09:17 +1000)] 
fix typo

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-servlet...
Paul King [Thu, 27 Dec 2018 20:14:59 +0000 (06:14 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-servlet, groovy-sql

3 weeks agoFix typos (closes #842)
Javier S. López [Sun, 16 Dec 2018 11:29:37 +0000 (12:29 +0100)] 
Fix typos (closes #842)

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-groovysh...
Paul King [Thu, 27 Dec 2018 10:46:29 +0000 (20:46 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-groovysh, groovy-macro

3 weeks agocleanup/remove @author tags as per Apache recommended practices for groovy-ant, groov...
Paul King [Thu, 27 Dec 2018 10:30:06 +0000 (20:30 +1000)] 
cleanup/remove @author tags as per Apache recommended practices for groovy-ant, groovy-console, groovy-groovydoc

3 weeks agoGROOVY-8939: Add methods in StringGroovyMethods for better API Usage (closes #846)
Adithyan K [Wed, 26 Dec 2018 01:54:30 +0000 (07:24 +0530)] 
GROOVY-8939: Add methods in StringGroovyMethods for better API Usage (closes #846)

3 weeks agoGROOVY-8843: Fix illegal reflective access within o.c.g.vmplugin.v7.Java7 (closes...
Paul King [Mon, 15 Oct 2018 08:12:45 +0000 (18:12 +1000)] 
GROOVY-8843: Fix illegal reflective access within o.c.g.vmplugin.v7.Java7 (closes #811)

3 weeks agorevert to gradle 4.10.3 to check impact on CI server
Paul King [Thu, 27 Dec 2018 02:10:21 +0000 (12:10 +1000)] 
revert to gradle 4.10.3 to check impact on CI server

3 weeks agoGROOVY-7233: Configurable Access Modifier for Log AST Transformations (closes #843)
Joe Wolf [Tue, 30 Dec 2014 05:28:34 +0000 (00:28 -0500)] 
GROOVY-7233: Configurable Access Modifier for Log AST Transformations (closes #843)

All of the logging AST transformations now support @VisibilityOptions.
This allows the log field to be public, private (the default), protected,
or package-private.  There is a new LoggingStrategyV2 which logging
strategies which want to support visibility should support.

3 weeks agoGROOVY-8935: Provide a @NullCheck AST transformation similar to Lombok's NonNull...
Paul King [Sat, 22 Dec 2018 04:18:03 +0000 (14:18 +1000)] 
GROOVY-8935: Provide a @NullCheck AST transformation similar to Lombok's NonNull (closes #845)

3 weeks agoGROOVY-8937: Bump antlr to 4.7.2
Daniel Sun [Sun, 23 Dec 2018 10:37:05 +0000 (18:37 +0800)] 
GROOVY-8937: Bump antlr to 4.7.2

3 weeks agoGROOVY-8936: NPE occurred when `null` message passed into `MissingPropertyException...
Jesse Glick [Thu, 20 Dec 2018 16:43:17 +0000 (11:43 -0500)] 
GROOVY-8936: NPE occurred when `null` message passed into `MissingPropertyException`(closes #844)

4 weeks agoGROOVY-8931: AstNodeToScriptVisitor - wrong "extends/implements" order (tweak test)
Paul King [Tue, 18 Dec 2018 11:32:17 +0000 (21:32 +1000)] 
GROOVY-8931: AstNodeToScriptVisitor - wrong "extends/implements" order (tweak test)

4 weeks agoGROOVY-8931: AstNodeToScriptVisitor - wrong "extends/implements" order
Paul King [Tue, 18 Dec 2018 10:24:13 +0000 (20:24 +1000)] 
GROOVY-8931: AstNodeToScriptVisitor - wrong "extends/implements" order

4 weeks agobuild tweak: move test to use a slightly earlier phase to avoid stray class files...
Paul King [Tue, 18 Dec 2018 06:46:38 +0000 (16:46 +1000)] 
build tweak: move test to use a slightly earlier phase to avoid stray class files from being produced

4 weeks agoGROOVY-7233: Pre-factor (fix merge glitch)
Paul King [Tue, 18 Dec 2018 01:13:54 +0000 (11:13 +1000)] 
GROOVY-7233: Pre-factor (fix merge glitch)

4 weeks agoGROOVY-7233: Pre-factor some non-consequential changes
Paul King [Tue, 18 Dec 2018 00:00:46 +0000 (10:00 +1000)] 
GROOVY-7233: Pre-factor some non-consequential changes

whitespace, unneeded modifiers, cleanup @author tags, add @Override annotations

4 weeks agoGROOVY-8914: Error compiling static inner class that extends some other (static)...
Paul King [Mon, 17 Dec 2018 02:04:54 +0000 (12:04 +1000)] 
GROOVY-8914: Error compiling static inner class that extends some other (static) inner class

4 weeks agoTrivial refactoring: remove unused imports
Daniel Sun [Sun, 16 Dec 2018 15:19:45 +0000 (23:19 +0800)] 
Trivial refactoring: remove unused imports

4 weeks agoTrivial refactoring: remove unnecessary condition
Daniel Sun [Sun, 16 Dec 2018 15:17:19 +0000 (23:17 +0800)] 
Trivial refactoring: remove unnecessary condition

4 weeks agoTrivial refactoring: replace with direct class object access
Daniel Sun [Sun, 16 Dec 2018 15:09:38 +0000 (23:09 +0800)] 
Trivial refactoring: replace with direct class object access

4 weeks agoGROOVY-8777/GROOVY-8776: @MapConstructor on inner class in conjunction with @CompileS...
Paul King [Sun, 16 Dec 2018 11:49:20 +0000 (21:49 +1000)] 
GROOVY-8777/GROOVY-8776: @MapConstructor on inner class in conjunction with @CompileStatic

4 weeks agoGROOVY-8928: Bump jackson-dataformat-yaml and jackson-databind to 2.9.8
Daniel Sun [Sun, 16 Dec 2018 13:30:30 +0000 (21:30 +0800)] 
GROOVY-8928: Bump jackson-dataformat-yaml and jackson-databind to 2.9.8

4 weeks agoUpdate git repository link in the README
Daniel Sun [Sat, 15 Dec 2018 11:42:34 +0000 (19:42 +0800)] 
Update git repository link in the README

4 weeks agoRefine "GROOVY-8920: Fails to infer parameter and return type of SAM on RHS"
Daniel Sun [Sat, 15 Dec 2018 06:56:50 +0000 (14:56 +0800)] 
Refine "GROOVY-8920: Fails to infer parameter and return type of SAM on RHS"

5 weeks agoGROOVY-8927: String variants for take and drop
Paul King [Fri, 14 Dec 2018 13:24:04 +0000 (23:24 +1000)] 
GROOVY-8927: String variants for take and drop

5 weeks agoremove unused import
Paul King [Fri, 14 Dec 2018 09:58:37 +0000 (19:58 +1000)] 
remove unused import

5 weeks agoGROOVY-8920: Fails to infer parameter and return type of SAM on RHS(closes #838)
Daniel Sun [Thu, 13 Dec 2018 17:01:29 +0000 (01:01 +0800)] 
GROOVY-8920: Fails to infer parameter and return type of SAM on RHS(closes #838)

5 weeks agoRevert "GROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2"
Daniel Sun [Wed, 12 Dec 2018 19:34:57 +0000 (03:34 +0800)] 
Revert "GROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2"

This reverts commit 735fd75a

5 weeks agoAvoid `gradlew assemble` before running tests on travis-ci(closes #841)
Daniel Sun [Wed, 12 Dec 2018 19:01:59 +0000 (03:01 +0800)] 
Avoid `gradlew assemble` before running tests on travis-ci(closes #841)

5 weeks agoFix cli failing tests
danielsun1106 [Wed, 12 Dec 2018 18:22:18 +0000 (02:22 +0800)] 
Fix cli failing tests

5 weeks agoGROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2
danielsun1106 [Wed, 12 Dec 2018 17:49:24 +0000 (01:49 +0800)] 
GROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2

5 weeks agoGROOVY-8925: Bump picocli to 3.8.2
danielsun1106 [Wed, 12 Dec 2018 17:45:22 +0000 (01:45 +0800)] 
GROOVY-8925: Bump picocli to 3.8.2

5 weeks agoGROOVY-8924: Bump creadur-rat-gradle to 0.3.1
danielsun1106 [Wed, 12 Dec 2018 17:17:38 +0000 (01:17 +0800)] 
GROOVY-8924: Bump creadur-rat-gradle to 0.3.1

5 weeks agoGROOVY-8923: Bump gradle-license-report to 1.3
danielsun1106 [Wed, 12 Dec 2018 17:15:50 +0000 (01:15 +0800)] 
GROOVY-8923: Bump gradle-license-report to 1.3

5 weeks agoGROOVY-8922: Bump spotbugs gradle plugin to 1.6.6 and bump spotbugs-annotations to...
danielsun1106 [Wed, 12 Dec 2018 17:12:44 +0000 (01:12 +0800)] 
GROOVY-8922: Bump spotbugs gradle plugin to 1.6.6 and bump spotbugs-annotations to 3.1.9

5 weeks agoGROOVY-8921: Bump build-scan gradle plugin to 2.1
danielsun1106 [Wed, 12 Dec 2018 17:09:04 +0000 (01:09 +0800)] 
GROOVY-8921: Bump build-scan gradle plugin to 2.1

5 weeks agoFix typo beeing -> being(closes #839)
Javier S. López [Wed, 12 Dec 2018 10:15:20 +0000 (11:15 +0100)] 
Fix typo beeing -> being(closes #839)

5 weeks agoGROOVY-8917: Failed to infer parameter type of some SAM, e.g. BinaryOperator(closes...
Daniel Sun [Tue, 11 Dec 2018 15:30:25 +0000 (23:30 +0800)] 
GROOVY-8917: Failed to infer parameter type of some SAM, e.g. BinaryOperator(closes #837)

5 weeks agoFix typo
Daniel Sun [Mon, 10 Dec 2018 10:22:02 +0000 (18:22 +0800)] 
Fix typo

5 weeks agoGROOVY-8915: [Parrot] Make groovydoc configuration flexible(closes #836)
Daniel Sun [Sun, 9 Dec 2018 03:25:35 +0000 (11:25 +0800)] 
GROOVY-8915: [Parrot] Make groovydoc configuration flexible(closes #836)

6 weeks agoAvoid compiling regex repeatedly and update javadoc
Daniel Sun [Fri, 7 Dec 2018 17:24:57 +0000 (01:24 +0800)] 
Avoid compiling regex repeatedly and update javadoc

6 weeks agofix Javadoc warnings
Paul King [Thu, 6 Dec 2018 01:25:01 +0000 (11:25 +1000)] 
fix Javadoc warnings

6 weeks agoGROOVY-8898: Annotation value cannot take inline constant from enum.
Paul King [Wed, 5 Dec 2018 10:51:46 +0000 (20:51 +1000)] 
GROOVY-8898: Annotation value cannot take inline constant from enum.

6 weeks agoMinor refactor `StaticTypesLambdaWriter` and remove useless code
Daniel Sun [Tue, 4 Dec 2018 15:41:29 +0000 (23:41 +0800)] 
Minor refactor `StaticTypesLambdaWriter` and remove useless code

6 weeks agoGROOVY-8908: Bump gradle to 5.0(closes #835)
Daniel Sun [Mon, 3 Dec 2018 16:35:45 +0000 (00:35 +0800)] 
GROOVY-8908: Bump gradle to 5.0(closes #835)

gradle plugins have to be bumped together

6 weeks agoRefine the text of rule context
Daniel Sun [Sun, 2 Dec 2018 07:47:21 +0000 (15:47 +0800)] 
Refine the text of rule context

6 weeks agoRemove `StringUtils`'s `@author` and `@since` info added by accident.
Daniel Sun [Sat, 1 Dec 2018 15:05:54 +0000 (23:05 +0800)] 
Remove `StringUtils`'s `@author` and `@since` info added by accident.

6 weeks agoAvoid compiling regex repeatedly for better performance
Daniel Sun [Sat, 1 Dec 2018 15:00:23 +0000 (23:00 +0800)] 
Avoid compiling regex repeatedly for better performance

6 weeks agoRefine statementExpression rule for better performance
Daniel Sun [Sat, 1 Dec 2018 14:13:11 +0000 (22:13 +0800)] 
Refine statementExpression rule for better performance

FYI, groovy-parser tests parsing groovy source code from:

1) groovy 2.5.0
2) grails 3.2.0
3) gradle 3.1
4) spock 1.1-rc-2
5) geb 1.0

the test build time of danielsun1106/groovy-parser is reduced from 32m to 27m.

7 weeks agoTrivial refactoring: use the char stream of lexer instead
Daniel Sun [Fri, 30 Nov 2018 17:17:20 +0000 (01:17 +0800)] 
Trivial refactoring: use the char stream of lexer instead

7 weeks agoGROOVY-8904: Bump junit to 5.3.2 and bump junit platform to 1.3.2
Daniel Sun [Tue, 27 Nov 2018 14:57:55 +0000 (22:57 +0800)] 
GROOVY-8904: Bump junit to 5.3.2 and bump junit platform to 1.3.2

7 weeks agoMove tuple improvements to its own project
Daniel Sun [Tue, 27 Nov 2018 13:58:45 +0000 (21:58 +0800)] 
Move tuple improvements to its own project

7 weeks agoAdd tests for tuples' limit and skip methods
Daniel Sun [Mon, 26 Nov 2018 15:02:10 +0000 (23:02 +0800)] 
Add tests for tuples' limit and skip methods

7 weeks agoAdd tests for tuples' split methods
Daniel Sun [Mon, 26 Nov 2018 14:53:06 +0000 (22:53 +0800)] 
Add tests for tuples' split methods

7 weeks agoAdd missing concat methods of tuples
Daniel Sun [Mon, 26 Nov 2018 14:34:10 +0000 (22:34 +0800)] 
Add missing concat methods of tuples

7 weeks agoAdd tests for tuples' map methods
Daniel Sun [Sun, 25 Nov 2018 06:36:37 +0000 (14:36 +0800)] 
Add tests for tuples' map methods

7 weeks agoGROOVY-8902: Add method `mapAll` to tuples(closes #832)
Daniel Sun [Sat, 24 Nov 2018 16:47:40 +0000 (00:47 +0800)] 
GROOVY-8902: Add method `mapAll` to tuples(closes #832)

7 weeks agoMinor refactoring: Remove duplicated code in `AstBuilder`
Daniel Sun [Sat, 24 Nov 2018 14:24:25 +0000 (22:24 +0800)] 
Minor refactoring: Remove duplicated code in `AstBuilder`

7 weeks agoMinor refactoring: Create tuple instances via factory method
Daniel Sun [Sat, 24 Nov 2018 14:22:26 +0000 (22:22 +0800)] 
Minor refactoring: Create tuple instances via factory method

7 weeks agoMake `Tuple0` singleton
Daniel Sun [Sat, 24 Nov 2018 13:20:38 +0000 (21:20 +0800)] 
Make `Tuple0` singleton

7 weeks agoGROOVY-7647: Incorrect line information for debug (closes #830) 830/head
Paul King [Fri, 23 Nov 2018 06:29:06 +0000 (16:29 +1000)] 
GROOVY-7647: Incorrect line information for debug (closes #830)

7 weeks agoGROOVY-8882: CS: Loop over elements of String has different element type (closes... 827/head
Paul King [Wed, 21 Nov 2018 04:35:36 +0000 (14:35 +1000)] 
GROOVY-8882: CS: Loop over elements of String has different element type (closes #827)

8 weeks agoGROOVY-8899: Add DGSM `first` and `last`(closes #828)
Daniel Sun [Fri, 23 Nov 2018 14:41:54 +0000 (22:41 +0800)] 
GROOVY-8899: Add DGSM `first` and `last`(closes #828)

8 weeks agoGROOVY-8900: Make class `Tuple0`, `Tuple1`...`Tuple16` final(closes #829)
Daniel Sun [Fri, 23 Nov 2018 14:38:30 +0000 (22:38 +0800)] 
GROOVY-8900: Make class `Tuple0`, `Tuple1`...`Tuple16` final(closes #829)

8 weeks agoGROOVY-8895: Traits defining getter conflicts with generated getter
Paul King [Tue, 20 Nov 2018 20:06:18 +0000 (06:06 +1000)] 
GROOVY-8895: Traits defining getter conflicts with generated getter

8 weeks agoRefine "GROOVY-8887: Support multi-assignment of tuples in STC"
Daniel Sun [Tue, 20 Nov 2018 16:00:34 +0000 (00:00 +0800)] 
Refine "GROOVY-8887: Support multi-assignment of tuples in STC"

8 weeks agoTrivial refactoring: make `DEFAULT_BUFFER_SIZE` final
Daniel Sun [Tue, 20 Nov 2018 13:30:31 +0000 (21:30 +0800)] 
Trivial refactoring: make `DEFAULT_BUFFER_SIZE` final

8 weeks agoGROOVY-8894: Improve performance of DGM `leftShift(OutputStream, InputStream)`(closes...
Daniel Sun [Tue, 20 Nov 2018 13:22:28 +0000 (21:22 +0800)] 
GROOVY-8894: Improve performance of DGM `leftShift(OutputStream, InputStream)`(closes #826)

8 weeks agoGROOVY-8876: groovydoc fails with "java.lang.StringIndexOutOfBoundsException: String...
Paul King [Mon, 19 Nov 2018 23:15:17 +0000 (09:15 +1000)] 
GROOVY-8876: groovydoc fails with "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" on file with no extension

8 weeks agoGROOVY-8890: Make "Inspect Tokens" of groovy console support Parrot's tokens(closes...
Daniel Sun [Mon, 19 Nov 2018 15:23:28 +0000 (23:23 +0800)] 
GROOVY-8890: Make "Inspect Tokens" of groovy console support Parrot's tokens(closes #825)

2 months agoGROOVY-8892: Trait instance init blocks are called only when there are fields defined...
Paul King [Mon, 19 Nov 2018 03:44:16 +0000 (13:44 +1000)] 
GROOVY-8892: Trait instance init blocks are called only when there are fields defined in same Trait

2 months agoRevert "GROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2"
Daniel Sun [Sat, 17 Nov 2018 17:49:35 +0000 (01:49 +0800)] 
Revert "GROOVY-8886: Bump asciidoctor-gradle-plugin to 1.5.9.2"

This reverts commit 0eb3d7b

2 months agoRename element getters of tuples to support groovy style better
Daniel Sun [Sat, 17 Nov 2018 17:27:54 +0000 (01:27 +0800)] 
Rename element getters of tuples to support groovy style better

Original: def t = new Tuple1('Daniel'); t.v1()
After change: def t = new Tuple1('Daniel'); t.v1

2 months agoAdd more tests for tuple concat
Daniel Sun [Sat, 17 Nov 2018 17:05:15 +0000 (01:05 +0800)] 
Add more tests for tuple concat

2 months agoRemove useless code added by accident
Daniel Sun [Sat, 17 Nov 2018 17:04:22 +0000 (01:04 +0800)] 
Remove useless code added by accident

2 months agoGROOVY-8887: Support multi-assignment of tuples in STC(closes #824)
Daniel Sun [Sat, 17 Nov 2018 16:36:19 +0000 (00:36 +0800)] 
GROOVY-8887: Support multi-assignment of tuples in STC(closes #824)

2 months agoGROOVY-8880: Traits - static/instance init blocks (closes #823) 823/head
Paul King [Thu, 15 Nov 2018 14:20:01 +0000 (00:20 +1000)] 
GROOVY-8880: Traits - static/instance init blocks (closes #823)