fails:main#def sets the visibility of the given method to private when defined in a block
