Using the struct initializer syntax which is now forbidden for structs with constructors results in an error message without line number information. --- struct test { int f; this(int x){ f = x; } } immutable test t2 = {1}; --- output: Error: struct test has constructors, cannot use { initializers }, use test( initializers ) instead
*** This issue has been marked as a duplicate of issue 3662 ***