Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97e29a9c authored by LaMont Jones's avatar LaMont Jones
Browse files

Properly track where a build flag is declared

This allows us to generate an error when it is then set in an earlier
location in the list.

Bug: 346883187
Test: manual
Change-Id: I1c8389ff0d5a16c080008967ab5e0b9b93101301
parent 22c8aca8
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -138,6 +138,8 @@ func (src *FlagArtifact) Clone() *FlagArtifact {
		FlagDeclaration:  src.FlagDeclaration,
		Traces:           src.Traces,
		Value:            value,
		DeclarationIndex: src.DeclarationIndex,
		Redacted:         src.Redacted,
	}
}