History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
GROOVY-2452
Type:
Bug
Status:
Closed
Resolution:
Fixed
Priority:
Minor
Assignee:
Paul King
Reporter:
René de Bloois
Votes:
0
Watchers:
1
Operations
If you were
logged in
you would be able to see more operations.
groovy
'in' with an array always returns false
Created:
27/Dec/07 08:55 AM
Updated:
08/Feb/08 01:26 AM
Component/s:
None
Affects Version/s:
1.5.1
Fix Version/s:
1.5.2
Time Tracking:
Not Specified
Environment:
java 6, Windows XP SP2
Description
« Hide
'in' always returns false with an array:
String
[] array1 = [
"test1"
,
"test2"
]
assert
!(
"test1"
in array1 )
assert
!(
"test3"
in array1 )
Description
'in' always returns false with an array:
String
[] array1 = [
"test1"
,
"test2"
]
assert
!(
"test1"
in array1 )
assert
!(
"test3"
in array1 )
Show »
All
Comments
Work Log
Change History
Sort Order:
[
Permlink
|
« Hide
]
Guillaume Laforge
-
27/Dec/07 09:14 AM
Right, arrays should behave like collections.
[
Show »
]
Guillaume Laforge
-
27/Dec/07 09:14 AM
Right, arrays should behave like collections.
[
Permlink
|
« Hide
]
Paul King
-
28/Dec/07 09:02 PM
now isCase(Object, value) is array aware
[
Show »
]
Paul King
-
28/Dec/07 09:02 PM
now isCase(Object, value) is array aware
[
Permlink
|
« Hide
]
Paul King
-
08/Feb/08 01:26 AM
close off release 1.5.4
[
Show »
]
Paul King
-
08/Feb/08 01:26 AM
close off release 1.5.4