After a little more testing, this seems to be the same for any reserved word (Edit: Well, with Is, In, and Contains, anyways). It never takes issue with the first property declared in a class.
Example code —tested on beta.6 and beta.7. It considers Test2 an issue, but not Test1:
Code: Select all
class Test1 {
IsSet => ''
Value => ''
}
class Test2 {
Value => ''
IsSet => ''
}
Code: Select all
Error: The following reserved word must not be used as a variable name:
"IsSet"
Line#
002: }
003: {
003: Return ''
003: }
005: Test2
005: {
000: }
---> 006: {