Bug? SortType case sensitive

scrat

Active Member
Licensed User
Longtime User
In previous IDE version (<6.5 ?) list SortType was not case sensitive.
Now when a class is recompiled the app crash on SortType if a user type field has an uppercase / lowercase difference

B4X:
Type T(aField1 as String, afield2 as String)
Dim L as list
L.initialise
dim T0, T1 as T

T0.initialize
T0.aField1="a"
T0.afield2="b"
L.add(T0)

T1.initialize
T1.aField1="c"
T1.afield2="d"
L.add(T1)

L.SortType("aField2")


No compile warning but app crash with unknow type aField2
 
Top