If a channel is declared inside a function, the engine crashes. Such declarations do not make sense and should be disallowed.
Fixed on the trunk. Function local channel declarations are not forbidden.
Correction: I ment to say "Function local channel declarations are now forbidden."