System.assert(anything) inspector error 2.2.3.4 V56 org

Issue #2190 resolved
Eric Kintzer created an issue
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)

  1. Scott Wells repo owner

    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.

  2. Scott Wells 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.

  3. Eric Kintzer reporter

    great – that is what I observed as well – existing code getting flagged by inspector when working against V56 org

  4. Scott Wells 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.

  5. Log in to comment