(Not sure if this is reporting a bug or making a wish.)
As per this post https://www.b4x.com/android/forum/threads/xui-views-causing-compiler-error.104310/ in a project that uses XUI Views, creating the following declaration causes a compile error.
In fact the actual definition of item doesn't matter, it's the name 'item' that causes the problem.
I believe it would be useful if the IDE (or the compiler with a more obvious error) could flag up these clashes.
As per this post https://www.b4x.com/android/forum/threads/xui-views-causing-compiler-error.104310/ in a project that uses XUI Views, creating the following declaration causes a compile error.
B4X:
Type item(index As Int, text As String)
In fact the actual definition of item doesn't matter, it's the name 'item' that causes the problem.
I believe it would be useful if the IDE (or the compiler with a more obvious error) could flag up these clashes.