ajwang / groovypptest

Automatically exported from code.google.com/p/groovypptest
0 stars 0 forks source link

.count() of collections always produces 1 #302

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the @Typed code .count() always produces 1 both in count(Object) and 
count(Closure) modes.

G++ 0.2.24

Original issue reported on code.google.com by justn...@mail.ru on 4 Oct 2010 at 8:53

GoogleCodeExporter commented 8 years ago
Oops.. this one seems not so easy to reproduce. I'll try to post a 
reproduceable example asap.

Original comment by justn...@mail.ru on 4 Oct 2010 at 10:15

GoogleCodeExporter commented 8 years ago
I've done some digging and found out that sadly the problem is not with the 
.count() but again with the weird conceptions of G++ contradicting Groovy. I've 
opened the new issue for that:
http://code.google.com/p/groovypptest/issues/detail?id=304

Original comment by justn...@mail.ru on 4 Oct 2010 at 11:00

GoogleCodeExporter commented 8 years ago
Since this issue has been replaced by 
http://code.google.com/p/groovypptest/issues/detail?id=304, which has the 
details to correctly reproduce the issue, I am marking this one as invalid.

Original comment by roshanda...@gmail.com on 15 Oct 2010 at 6:26