This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.
@fileoverview in file with async gets moved #1095
Open
Description
Consider a file like:
/** @fileoverview foo */
codeHere();
If codeHere
is export {}; async function ...
or export async function ...
the fileoverview comment transformer causes the fileoverview to be moved down below the goog.module
etc in the emit.
But if instead it's async function ...
or export function ...
then it stays at the top!
It seems to be some interaction with the many weird things the fileoverview transformer does, along with maybe how export/async are downlevelled.