ry, follow the step:
$ git clone https://github.com/danielsun1106/groovy-parser.git
$ cd groovy-parser
$ ./gradlew groovyConsole
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Method-reference-for-Groovy-3-tp5736296.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
Thanks :-)
在 "paulk_asert [via Groovy]"
,2016年10月26日 上午7:35写道:
nice!
On Wed, Oct 26, 2016 at 6:29 AM, Jochen Theodorou <[hidden email]> wrote:
> great stuff
>
>
> On 25.10.2016 18:25, Daniel.Sun wrote:
>>
>> Hi all,
>>
>> T
ntHashMap does not supply any function to remove oldest
element automatically :)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/PROPOSAL-Refine-the-implementation-of-LRUCache-tp5736323p5736329.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
I created a JIRA issue to track the proposal:
https://issues.apache.org/jira/browse/GROOVY-7977
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/PROPOSAL-Refine-the-implementation-of-LRUCache-tp5736323p5736346.html
Sent from the Groovy Dev mailing list
ases.
https://github.com/danielsun1106/groovy-parser/blob/customOperator/src/test/resources/core/CustomOperator_01x.groovy
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Custom-operator-for-Groovy-3-tp5736388p5736393.html
Sent from the Groovy Dev mailing list
Hi Paolo,
Here are some example code. As you see, the special character(`) is
required to define the custom operator:
// Custom operators should be declared first, then use.
// It can be declared in the class or script, but it must be declared
static.
class A {
static "`>?`"(int a, int b)
as
Cédric said, so I'm not sure it will be added to Groovy 3 ;-)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Custom-operator-for-Groovy-3-tp5736388p5736396.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
Hi Jochen,
I create JIRA issue
GROOVY-7983(https://issues.apache.org/jira/browse/GROOVY-7983) to track the
issue.
BTW, the code in the email should be corrected as follow:
def a = new int[2][]
def b = new int[2][][]
assert a == b // expect faling
Cheers,
Daniel.Sun
--
View this
Hi Jochen,
Thanks for your explaining the traps of custom operator in Groovy :)
The experimental code is on the customOperator branch, which will not
be merged to master ;)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Custom-operator-for
The logic of custom operator is impelemented in a method, so the custom
operator is accually method call. The feature will not be added to Groovy,
so forget it ;-)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/Custom-operator-for-Groovy-3
Hi Jochen,
I'll set aside more time on your new idea ;)
Cheers,
Daniel.Sun
在 "Jochen Theodorou [via Groovy]"
,2016年10月30日 下午8:16写道:
On 30.10.2016 11:07, Daniel.Sun wrote:
> Hi Paolo,
>
> There are some limitations when we use antlr to define grammar
on for the
time being.
To extend your new idea:
a `>?` b === a."`>?`"(b) // binary expression
the following syntax will be useful too:
`?` a === "`?`"(a) // unary expression
a `?` === a."`?`"() // postfix expression
As you can see, with double "
Dear Groovy Core Team,
There are about 55 days before Christmas's coming, what gifts are you
going to give us? ;)
The first release of Groovy 2.5.0 beta? and with what features?
Best Regards,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com
+1 :)
在 "Paolo Di Tommaso [via Groovy]"
,2016年11月1日 下午8:17写道:
Both of them !!
:)
On Tue, Nov 1, 2016 at 1:14 PM, Remi Forax <[hidden email]> wrote:
or a photo of Guillaume dress as Father Chrismas :)
Rémi
- Mail original -
> De: "Daniel.Sun" <[h
cters as possible and make tokens, as
a result, .* in the import statement is also recognized as custom operator. So
I use ` instead for the time being.
Cheers,
Daniel.Sun
在 "Jochen Theodorou [via Groovy]"
,2016年11月1日 下午10:17写道:
On 01.11.2016 02:39, Daniel.Sun wrote:
> Hi
IMO, we should compare their type first. If not same, the comparing result
should be 'false'.
Cheers,
Daniel.Sun
在 "bo zhang [via Groovy]" ,2016年11月3日
06:53写道:
I'm afraid it's not a bug.
Actually, `def a=new int[2][]` means that a is an array of two null poi
I verified the comparing of Java, which will check the type first. e.g.
new int[2][][].equals(new int[2][]) // false
new int[2].equals(new long[2]) // false
Cheers,
Daniel.Sun
在 "bo zhang [via Groovy]" ,2016年11月3日
上午9:24写道:
Yes, that's my first instinct too, but a few minute
I see, it is Groovy's friendly behavior.
Thank you, Paul.
Cheers,
Daniel.Sun
在 "paulk_asert [via Groovy]"
,2016年11月3日 下午2:43写道:
We just have to be a little careful. Rightly or wrongly (search the mailing
lists for many discussions), current Groovy's '==' t
Any thoughts?
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/try-with-resources-statement-for-Groovy-3-tp5736479.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
heers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/try-with-resources-statement-for-Groovy-3-tp5736479p5736485.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
version of test cases will be added later. Have I caught
your meaning?
BTW, the try-with-resources test cases are all runnable. You can see
they are marked 'x'(e.g. TryWithResources_01*x*.groovy), which means
executable.
Cheers,
Daniel.Sun
--
View this message in context:
http://gro
Hi Cédric,
Thanks for your reminding. I'll keep it in mind.
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/try-with-resources-statement-for-Groovy-3-tp5736479p5736490.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
Hi Cédric,
try-with-resources works fine with static compilation(test case 15):
https://github.com/danielsun1106/groovy-parser/blob/tryWithResources/src/test/resources/core/TryWithResources_01x.groovy#L212
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5
Hi Jochen,
The nest version of test case is added, the new parser can support too
:)
https://github.com/danielsun1106/groovy-parser/blob/tryWithResources/src/test/resources/core/TryWithResources_01x.groovy#L188
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5
Hi all,
If nobody unlikes the feature, I'll merge it into the master of
groovy-parser later :)
Cheers,
Daniel.Sun
--
View this message in context:
http://groovy.329449.n5.nabble.com/try-with-resources-statement-for-Groovy-3-tp5736479p5736495.html
Sent from the Groovy Dev mailing
Dear community,
The Apache Groovy team is pleased to announce version 2.6.0-alpha-1 of
Apache Groovy.
Apache Groovy is a multi-facet programming language for the JVM.
Further details can be found at the http://groovy.apache.org website.
This is a pre-release of a new version of Groovy.
We greatly
://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.6.0-alpha-1.zip
We should fix the above links in the page:
http://groovy-lang.org/download.html
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Yeah. It's a new feature introduced by Parrot.
We can discuss command expression further later.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Brian,
Try `println $/foo/$`
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Dear community,
I am happy to start the VOTE thread for a Groovy 2.6.0-alpha-2 release!
This release includes 10 bug fixes/improvements as outlined in the
changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318123&version=12341386
Tag:
https://git1-us-west.apache.org/re
e the wrapper and build Apache Groovy from source.
At last, I want to know, your vote is ? ;-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Cédric,
Your vote is ?
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
The vote has passed with 4 +1 binding votes and one additional +1 vote. I'll
get started with next steps later.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Paul,
Apart from 2.6.0-alpha-2, I plan to release 3.0.0-alpha-1 :-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
+1
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
.x, 3.0.x)?
Cheers,
Daniel.Sun
[1]
http://groovy.329449.n5.nabble.com/Compiling-groovy-with-java9-using-maven-with-spring-boot-tp5744648p5744667.html
[2] https://github.com/mockito/mockito/issues/1189
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Paul,
As Groovy 2.4.13 has been released, I plan to release Groovy
3.0.0-alpha-1 later.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Cédric,
Groovy 3.0.0 alpha can help groovy developers try the new parser
easily, which is enabled by default. In addition, we can get more feedback
earlier. So if no -1 on releasing 3.0.0 alpha, I'll try to release later.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.3294
Dear community,
I am happy to start the VOTE thread for a Groovy 3.0.0-alpha-1 release!
This release includes 9 bug fixes/improvements as outlined in the
changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318123&version=12331946
Tag:
https://git1-us-west.apache.org/rep
BTW, building from source code have to be done on Linux(Fails on Windows 10).
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Execution failed for task ':clean' after gradle upgraded from 3.5.1 to 4.3.1
https://github.com/gradle/gradle/issues/3437
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Gotcha :-)
Thanks for your reminding.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
I tried `gradlew dist --no-daemon`, still failed...
---
FAILURE: Build failed with an exception.
* What went wrong:
java.io.IOException: Unable to delete file:
D:\_APPS\git_apps\groovy\target\bootstrap\groovy-3.0.0-SNAPSHOT-bootstrap.jar
> Unable to delete file:
> D:\_APPS
Nice
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Cédric,
It looks fine to me.
BTW, the following commit will break the build(my bad...), please
pull the latest code.
https://github.com/melix/groovy-core/commit/fb00a0465e378bc9070f1e7dec4550fb778812ae
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com
Great! The issue is gone. I tested on
https://github.com/melix/groovy-core/commits/cc/rebuild-gradle
Thank you, Cédric :-)
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
oader.java:151)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:104)
at
org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:136)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449
1) apache-groovy-binary-3.0.0-SNAPSHOT.zip contains three
groovy-raw-3.0.0-SNAPSHOT.jar with same size
* groovy-3.0.0-SNAPSHOT/groovy-raw-3.0.0-SNAPSHOT.jar
* groovy-3.0.0-SNAPSHOT/lib/groovy-raw-3.0.0-SNAPSHOT.jar -- corrected
as the absolute path
* groovy-3.0.0-SNAPSHOT/lib/groovy-
Hi Cédric,
I built the distribution from the latest source code. The two issues
are fixed :)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Cédric,
The following test failed because `-Dgroovy.attach.groovydoc=true` is
missing
:testWithIndyorg.apache.groovy.parser.antlr4.GroovyParserTest » test groovy
core - Comments (0.702s)
java.lang.NullPointerException
:
Cannot get property 'content' on null object
Close stacktrace
at o
Good job!
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
ix the
failing build.
https://github.com/apache/groovy/commit/392d3ac4b46bf872317fe77587c9cf0b9afd2194
I guess the classpath(`classpath = files(jar.archivePath)`) don't
contain groovy classes.
https://github.com/apache/groovy/blob/master/gradle/test.gradle#
The build works now :)
https://github.com/apache/groovy/commit/b607038002ead0459ae56a2a662793859b3b9f51
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
> I have pushed a proper fix.
The proper fix is much better :)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Cédric,
I added Jitpack as a repository, but it is no longer used. Feel free
to remove it.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
all know, accessing disk
is much slower than accessing memory).
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Gotcha.
I'll revert it ;)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
+1
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Thank you, Cédric :)
I tried to build from groovy-2.6.0-SNAPSHOT source code and found a
trivial issue: apache-groovy-src-2.6.0-SNAPSHOT.zip file contains
"groovy-2.6.0-SNAPSHOT/.shelf", which should be excluded IMO.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.
s 10
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Amazing! The build of master costs only about 15 min now(about 25 min in the
past).
Cédric, you help us save a lot of time, thanks a lot!
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi all,
Recently I spend some spare time to investigate bytecode generation of
native lambda. In order to view the ASM source code(or bytecode) easily, I
developed a tool named SmartASMifier(
https://github.com/danielsun1106/SmartASMifier ). Now I share it with you
:-)
Cheers,
Daniel.Sun
Thanks ;-)
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
lp is appreciated!
[1]
https://github.com/danielsun1106/groovy/blob/native-lambda/subprojects/parser-antlr4/src/test/resources/core/Lambda_02x.groovy
[2]
https://github.com/danielsun1106/groovy/blob/native-lambda/src/main/java/org/codehaus/groovy/classgen/asm/LambdaWriter.java#L75-L76
Cheers,
Danie
Groovy community is so warm!
Thank you all for your help, I'll set aside more time to investigate further
:-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Jochen,
As far as I remember, John Wilson is one of main contributors of
Groovy, he is active in about 2007 and rejected some proposals of mine ;-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Jochen,
I'm trying to upgrade asm on my fork[1], let's wait to see the result
of build ;-)
Cheers,
Daniel.Sun
[1]
https://travis-ci.org/danielsun1106/groovy/builds/321181232?utm_source=github_status&utm_medium=notification
--
Sent from: http://groovy.329449.n5.nabble.
Hi Jochen,
I have the same question... my workaround is to check the version of
vm plugin:
https://github.com/danielsun1106/groovy/commit/70f0223a5f0eade0e2097b7ff8bf843e05948e55
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Fixed by
https://github.com/apache/groovy/commit/e9b6bddda05165195db24d42ed3715e4752e0397
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
The version of ASM has upgraded to 6.0 :-)
https://github.com/apache/groovy/commit/091e178495a5dbd44ab46374121b7f28ea98d6d1
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
//travis-ci.org/apache/groovy/jobs/321192018#L586-L596
Could you show me the link to the error messages?
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
We should collect at least three +1 from PMC(e.g. Guillaume, Jochen, Cédric,
Paul, John, etc. ) ;-)
Here is the complete list :
http://people.apache.org/phonebook.html?pmc=groovy
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
d be `ALL`
your vote is ?
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Jochen,
Thanks for your voting :-)
> but under the condition to deprecate @PackageScope in 2.6.0 and then I
> would like to have it removed in 3.0.0 (if we want to be serious about
> cleanups, that is)
Yeah, we can do better step by step.
Cheers,
Daniel.Sun
--
/blob/master/gradle/assemble.gradle#L352-L355
can be simplified as
it.file.name.startsWith('asm-', 'antlr-', 'antlr4-')
The similar senario appears at:
https://github.com/apache/groovy/blob/master/gradle/assemble.gradle#L366-L369
Any thoughts?
Cheers,
Da
-SNAPSHOT groovy-templates-2.6.0-SNAPSHOT
groovy-groovysh-2.6.0-SNAPSHOT groovy-test-2.6.0-SNAPSHOT
groovy-jmx-2.6.0-SNAPSHOT groovy-testng-2.6.0-SNAPSHOT
groovy-json-2.6.0-SNAPSHOT groovy-xml-2.6.0-SNAPSHOT
groovy-jsr223-2.6.0-SNAPSHOT
Cheers,
Daniel.Sun
--
Sent from: http
groovy-2.5.0-SNAPSHOT has the same issue...
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Yeah, you are right, but `it.file.name =~ /^(?:asm|antlr|antlr4)-/` is not
very intuitive IMHO.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
OK. I'll create one later. Happy New Year :-)
Cheers,
Daniel. Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
the default
size of the cache?(e.g. 64)
Any thoughts?
Cheers,
Daniel.Sun
[1]
https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/util/ProxyGenerator.java#L69
[2]
https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/util/ProxyGenerator.java#L77
--
Sent
Also, I am not sure whether
> org.codehaus.groovy.vmplugin.v7.TypeTransformers usage is via the
> INSTANCE.
I verified that`org.codehaus.groovy.vmplugin.v7.TypeTransformers` uses
INSTANCE.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
.
I reference the ASM to generate bytecode, maybe some code is not
necessary and can be removed, I will refine them later.
Currently it is just an initial implementation, there are many things to
complete. Fortunately, we are on the road.
Cheers,
Daniel.Sun
--
Sent from: http://groovy
;-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
It seems that I found where go wrong.
The shared local variables in generated method body should have been
replaced with parameters. Let me try later :-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Jochen,
Thanks for your detailed explanation, which is very helpful to me.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Paul,
I will create a PR later :-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
The PR is created: https://github.com/apache/groovy/pull/654
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Russel,
ANTLR-4 parser(i.e. the Parrot parser) is the default one for master,
and ANTLR-2 parser is default for other branches.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
+1
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
OK. I see ;-)
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
+1
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Double backticks look a bit ugly IMO... I prefer the same way to escape, i.e.
use \ to escape.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
=> baz
Any thoughts?
Cheers,
Daniel.Sun
[1] https://en.m.wikipedia.org/wiki/Concatenative_programming_language
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
lowing syntax to support multiple parameters.
(x, y) => m1 => (m2, param) => m3
P.S. I like Jesper proposed |> to replace =>
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Dear development community,
I am happy to start the VOTE thread for a Groovy 2.6.0-alpha-3 release!
This release includes 18 bug fixes/improvements as outlined in the
changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318123&version=12342190
Tag:
https://git1-us-west.a
Hi Russel,
How about
https://github.com/javaparser/javaparser/blob/master/javaparser-core/src/main/javacc/java.jj
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
, 2, 3].stream().map(e -> e.plus 1).toList())
}
}
```
In next releases of 2.6.0, `-Dgroovy.target.bytecode=1.7` will be set
by default.
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Guillaume,
Thanks for your voting :)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
Hi Daniil,
Maybe Jochen can tell us the reason.
Ping Jochen ;-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
As a side note, `var` of Java10+ supports the following usage[1]:
```
var person = new Object() {
String name = "bob";
int age = 5;
};
System.out.println(person.name + " aged " + person.age);
```
Cheers,
Daniel.Sun
[1]
http://benjiweber.co.uk/blog/2018/03
1 - 100 of 451 matches
Mail list logo