Non-constant Default Arguments Generate Incorrect C
Submitted by Sam
Link to original bug (#621041)
Description
When a non-constant argument that references another argument is set in a method definition, any attempt to use that method results in a missing variable.
For example
void test (int[] a, int count = a.length) {
}
will not compile.
Valac should probably treat this as an error, which it doesn't
Version: 0.9.x