Skip to content

Comments

Issue 7230 - Crash during printing anonymous union with writeln family functions.#383

Merged
dsimcha merged 1 commit intodlang:masterfrom
9rnsr:fix7230
Jan 14, 2012
Merged

Issue 7230 - Crash during printing anonymous union with writeln family functions.#383
dsimcha merged 1 commit intodlang:masterfrom
9rnsr:fix7230

Conversation

@9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Jan 6, 2012

http://d.puremagic.com/issues/show_bug.cgi?id=7230

Format struct that has anonymous union fields, they overlapp each otther:

struct S {
  Field1 field0;
  union {
    Field2 field2;
    Field3 field3;
  }
  Field4 field4;
}

is formatted like follows:

S(field0, #{overlap field_ov_1, field_ov_2}, field_4)

This is much special case, and the formatting is debatable thing.

dsimcha added a commit that referenced this pull request Jan 14, 2012
Issue 7230 - Crash during printing anonymous union with writeln family functions.
@dsimcha dsimcha merged commit 1d2962b into dlang:master Jan 14, 2012
redstar added a commit to ldc-developers/phobos that referenced this pull request Feb 5, 2014
Every other platform uses only 2 digits for the exponent. This fixes issue dlang#383.
marler8997 pushed a commit to marler8997/phobos that referenced this pull request Nov 10, 2019
Build everything with -preview=dip1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants