Marc
04/08/2024, 11:10 AMsimon.vergauwen
04/08/2024, 11:11 AMGet
and Put
here @JvmInline value class
?Marc
04/08/2024, 11:12 AMMarc
04/08/2024, 11:13 AMPut
can’t, has 2 paramssimon.vergauwen
04/08/2024, 11:14 AMelse
and print q
. What is printed?simon.vergauwen
04/08/2024, 11:15 AMMarc
04/08/2024, 11:17 AMArcherRaise(raise=0)
Marc
04/08/2024, 11:17 AMGet(key=0)
simon.vergauwen
04/08/2024, 11:17 AMsimon.vergauwen
04/08/2024, 11:18 AMsimon.vergauwen
04/08/2024, 11:18 AMMarc
04/08/2024, 11:18 AMArcherRaise(raise=0)
does not even make sense ist just a delegate of Raise<F>Marc
04/08/2024, 11:19 AMMarc
04/08/2024, 11:19 AMsimon.vergauwen
04/08/2024, 11:19 AMinvoke
Marc
04/08/2024, 11:19 AMYoussef Shoaib [MOD]
04/08/2024, 11:34 AMYoussef Shoaib [MOD]
04/08/2024, 11:35 AMArcherRaise
a value class? Try making it a normal class and see if that helpsMarc
04/08/2024, 12:06 PMArcherRaise
made the trick. Thank you!Youssef Shoaib [MOD]
04/08/2024, 12:08 PMq
in an ArcherRaise
for some reason, which is what produced that weird output. Maybe compare the JS generated code of both and see what happened there. It'd be really good to also report it if you can get a reproducer at kotl.in/issueMarc
04/08/2024, 1:44 PM