scala/scala — comment on commit c800d1fec5241ed8c29e5af30465856f9b583246
File:  line 0
By paulp:

Yeah, I've fixed too many of our crashes over the years simply by removing overreaching asserts. If it isn't certain to catastrophically fail in a confusing fashion further down the line, an assert is probably the wrong tool for the job.

BTW I have a method called "debugwarn" which is intended for things which happen which you as a developer want to see, but normal users of the compiler shouldn't. Unfortunately -Ydebug is way too noisy for this to serve its intended purpose, because I want it to be on all the time for me. All part of the long-needed gigantic output control overhaul.