Postfix code generation results in invalid code in certain circumstances

Issue #2368 resolved
Jason van Beukering created an issue
  • To replicate:

    • type this in anonymous apex: “new IllegalArgumentException('errorMessage').sdjv” type enter
    • Resultanta invalid code: “System.debug('new IllegalArgumentException('errorMessage')=' + JSON.serializePretty( new IllegalArgumentException('errorMessage')));”

Comments (5)

  1. Scott Wells repo owner

    Hah! That’s funny…or would be if it wasn’t annoying. I’ll make sure that quotes get properly escaped. Thanks for logging.

  2. Log in to comment