When an exported function would follow a class declaration, it would not be recognized as a stand-alone function. That would then collapse the following line with the current one, e.g.
class C {} export function f() {} var x;
This change recognizes functions as free standing even when the line starts with an export keyword.