Byte compile fails after adding emacs-lisp-compilation-mode to popper-reference-buffers
I've found that adding emacs-lisp-compilation-mode to popper-reference-buffers can cause elisp byte compilation to fail. When popper-mode is enabled byte-compile-file will report warnings at incorrect line numbers and will often fail with an erroneous 'end of file during parsing'. If popper-mode is turned off compiling the same file will then work.
For a gist demonstrating the issue see popper-test.el. Note this issue isn't unique to folding.el, that just happend to be a recent example that I found. The compile-log shows successful compile with popper-mode off and then the failed compile.
I came here to report the same issue. Seems that setting popper-display-control to nil allows byte-compile to work again without issue.
Actually, 'user works as well. Only t seems to cause the error.