We converted several projects from v27 to v28 yesterday for one of our clients and ran into a very strange error.
Suddenly one of our class methods was reporting several compile errors referencing the incorrect use of the THEN keyword
When looking at the code you can see the issue is the space between the .. and the Exists and it clearly shouldn’t be there
But here is the really strange part, according to the SCM history, those spaces have always been there! Apparently, v27 was ignoring the extra space. This is code that gets executed every day, so we know it was somehow functioning with those spaces in v27.
So I guess we have to chalk this one up as a v27 bug that v28 exposes. If this is the most challenging issue we face I think we are going to be ok 🙂
One thought on “Strange Compile Error after v28 conversion”