This PR fixes an incompatibility in the experimental module system when trying to combine wellfounded recursion with public exposed definitions.