On Thu, May 16, 2013 at 11:33 AM, Lars Tandle Kyllingstad <lars@kyllingen.net> wrote:
Are you proposing that this be allowed:

  struct S
  {
      immutable int c = 123;
      this(int i) { c = i; }
  }

and that the compiler should report an error on the following?

  struct S
  {
      immutable int c = 123;
      // No constructor
  }

As I understand, he is proposing that either the first code snippet be allowed OR the second one should be an error.

Regards
- Puneet