The following document provides an example how to handle native NonCPS methods like toString.
But this example is way to trivial, as toString in 99,99% returns variable information usually provided by a couple of handy methods of the class, like in this case with CPS getFullName method
Previously this code worked as it doesn't call any steps as the document suggest, but now it started to raise
Obviously it's possible to put in @NonCPS for getFullName but that simply means that almost all methods by default must be @NonCPS, and only those that call steps must be CPS ones.
Can we have this
properly fixed as there's actually no mismatch, as even explicit toString
doesn't help to work this around?