I’ve confirmed this bug in 26.3 as well as a local build of 27.0.90. Here’s a simple repro. Save this in a file and run check-declare-file.