what expected |
The build should build with "vars" by default. I keep trying to fix this in Scalac.scala, but nothing sticks, and i have no idea where my stuff is being ignored.
The legacy of having so many senseless debug options comes from javac (from 1.0) and C compilers before it. We can do better than this. So here is my suggestion:
(a) get rid of the debuginfo flag completely, always generate maximum symbols. Space isn't a good excuse for not generating symbols, and if users want obfuscation, they can use better tools for that.
If (a) is too radical, then (b) simplify the flag to on or off. I don't understand why users would want some information and not others. It sucks the way it works now, line numbers are present but variables are not.
|