iOS Question Type definition doesn't accept identifier "description"

Sandman

Expert
Licensed User
Longtime User
I've got a type definition in a cross-platform project:
B4X:
Type typeSomething( _
  classname As String, _
  displayname As String, _
  description As String, _
  )

Works like a charm in B4A and B4J, but when I use B4i I get a compaint about "description is not a valid identifier". Sounds strange, but I confirmed that if I rename it to something less fitting for my scenario, the type is indeed accepted.

Is this the expected behaviour?

(It feels like it might be a bug, because why would "description" be off-limits? And if so, what other identifiers are verboten?)
 

udg

Expert
Licensed User
Longtime User
Another one is: cmd
I had it in a type definition (Cmd as Int); changed it to Cmd1 .. and we all are happy
 
Upvote 0
Top