Revert "Merge pull request #2957 from paulp/pr/parser-improvements"

This reverts commit 884e1ce762d98b29594146d37b85384581d9ba96, reversing
changes made to f6fcc4431f272c707d49de68add532c452dd4b0f.
Add position check for regression introduced by #2957

The starting bound for ValDefs in #2957 is distinct from the expected result, e.g.

[4:9]val x = [8:9]0
instead of
[0:9]val x = [8:9]0
Merge pull request #2980 from huitseeker/revert-2957

Revert #2957
SI-4742 Make -Xcheckinit aware of constants.

Members defined as `final val x = <literal>` are given
a ConstantType. The constant is folded into the accessor
method `x`, and the field itself is never initialized.
(Related discussion: SI-4605)

As such, -Xcheckinit spuriously warns when calling that
accessor.

This commit disables the checks for constants.

This will also fix the checkinit build (failure tracked as SI-7839),
which is the victim of this a spurious scolding.
Merge pull request #2982 from retronym/topic/checkinit

SI-4742 Make -Xcheckinit aware of constants.