Fix how non-calc root functions are serialized
Created attachment 438380 [details] Patch
<rdar://problem/83458848>
*** This bug has been marked as a duplicate of bug 239019 ***