Broken code example in 7.7 (and 7.6) documentation

Hello, at the beginning I must add that I am almost completely green in the subject of OCCT - I have
barely started to chew through the examples and tutorials.

I stumbled upon the following problem. Example shown in documentation for 7.7 (and 7.6) - "Surface generated from
four curves and a point" - no longer compiles under anything newer than 7.5:
https://dev.opencascade.org/doc/occt-7.7.0/overview/html/occt_user_guide...

This is probably caused by this change in 7.6 (described in first paragraph - "Simplification of surface/curve adaptor"):
https://dev.opencascade.org/doc/overview/html/occt__upgrade.html#upgrade...

Since it is a quite nice, toy size example. Could I ask someone more experienced to make a correction/update?
And if possible post it here and/or update the documentation?