- edited description
system.now().date() breaks references
Issue #691
resolved
When using:
System.assertEquals(system.now().date(),sObject.DateField,'Blah Blah Blah);
Having the now.date() breaks the references and highlighting
Using just system.now() and the system.now().addDays(-1) works just fine
Comments (4)
-
reporter -
repo owner The fix will be in the next build. Basically
Date
is considered an Apex reserved word because it's a system type, so I had to add a parser exception to allow it to be used as an identifier as well. Thanks for reporting! -
repo owner - changed version to 1.8.0.0
-
repo owner - changed status to resolved
Delivered with 1.8.0.0.
- Log in to comment