0
0
Fork 0
forked from lix-project/lix
lix/tests/functional/lang/parse-okay-inherits.exp
eldritch horrors 2a84123631 group inherit by source during Expr::show
for plain inherits this is really just a stylistic choice, but for
inherit-from it actually fixes an exponential size increase problem
during expr printing (as may happen during assertion failure reporting,
on during duplicate attr detection in the parser)

(cherry picked from commit ecf8b12d60ad2929f9998666cf0966475b91e291)
Change-Id: Ie55f0cb01a37e766414c31f8d40f51c2c7d106b0
2024-03-10 03:18:32 -06:00

2 lines
71 B
Plaintext

(let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; })