Postfix code generation results in invalid code in certain circumstances
Issue #2368
resolved
-
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)
-
repo owner -
repo owner - changed status to open
-
repo owner Fix committed for the next release.
-
reporter Thanks Scott.
-
repo owner - changed status to resolved
Delivered in 2.2.7.1.
- Log in to comment
Hah! That’s funny…or would be if it wasn’t annoying. I’ll make sure that quotes get properly escaped. Thanks for logging.