System.assert(anything) inspector error 2.2.3.4 V56 org
Issue #2190
resolved
System.assert(true)
Simple use case, System.assert(anything) had code inspector issue in 2.2.3.4 w/ v56 org. See screen shot. Repro in anon apex
Probably due to new System.Assert
class in v56
Comments (6)
-
repo owner -
repo owner FYI, this will be fixed in this week’s build since it’s causing issues with existing/pre-56.0 code for those working against Winter '23 preview orgs.
-
reporter great – that is what I observed as well – existing code getting flagged by inspector when working against V56 org
-
repo owner Yup. I’ve already committed a fix. I could add a build here with that fix if it’s really bugging you/others. Otherwise it’ll be in Thursday morning’s build.
-
reporter no worries
-
repo owner - changed status to resolved
Delivered in 2.2.3.5.
- Log in to comment
Yes, these are from API v56.0 and IC2 currently invokes all system APIs using API v55.0. That will change when Winter '23 is rolled out into all organizations and it can safely use API v56.0 in all cases.