pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:71:   o Function local function declarations are now statements    (and not expressions). This means that there is no longer    any need to terminate them with a semicolon.      o Anonymous class definitions are now always expressions.      o Function local class definitions are now statements    (and not expressions). This means that there is no longer    any need to terminate them with a semicolon.    + o The inherit statement's argument is now a proper +  constant expression. This means that it is possible +  to dynamically (at compile-time) generate the value +  to be inherited, eg with Pike.ProxyFactory(). +    o Complain about shadowed variant functions.      o Syntax for generator functions added.       continue is now treated as a modifier, and causes such functions    to become generator functions, where calling the function sets    up a restartable function context.       continue may also preceed return statements, which causes    the generator function state to be saved before returning.