Skip to content

field renaming doesn't match definition #501

@laurentlb

Description

@laurentlb

Input:

#version 430
struct Foo {int A; int B;};
struct Bar {int A; int C; int B;};

Foo foo;
Bar bar;

void main() {
    foo.A = 1;
    foo.B = 2;
    bar.A = 3;
    bar.C = 4;
    bar.B = 5;
}

Output:

#version 430

struct O{int m;int M;};
struct L{int K;int J;int I;};
O i;
L s;
void main()
{
  i.K=1;
  i.I=2;
  s.K=3;
  s.J=4;
  s.I=5;
}

Field renaming doesn't match the fields definition.
Broken by #499

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions