https://kotlinlang.org logo
#compose
Title
# compose
i

Igor Brovtsin

11/29/2023, 11:02 AM
Hey folks! I discovered that with CMP compiler version 1.5.3 (and Android compiler 1.5.4) compiling the same source files from different paths produce results that have different checksums, effectively breaking build reproducibility. From what I can see, this is caused by this commit using path-based values to generate keys for
startReplaceableGroup
in
rememberExpression
. Is there a possibility that any other identifier will be considered for use there? Should I file a bug for that? Thanks in advance!
s

shikasd

11/29/2023, 2:15 PM
Yep, please file a bug, this is unexpected. The keys should be relative to file name + package fqname, and not depend on file path
thank you color 1
i

Igor Brovtsin

11/30/2023, 3:09 PM
Filed a bug, please let me know if you need more information: https://issuetracker.google.com/issues/313937484