An empty regexp of the form #"" compiles to //, which is not an empty regexp but a comment, causing the code following the supposed regexp on the affected line to be commented out. This tends to cause compiler errors when Closure Compiler tries to parse it.
#"" should instead produce either /(?/ or new RegExp("").
An empty regexp of the form
#""
compiles to//
, which is not an empty regexp but a comment, causing the code following the supposed regexp on the affected line to be commented out. This tends to cause compiler errors when Closure Compiler tries to parse it.#""
should instead produce either/(?
/
ornew RegExp("")
.