We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code produces wrong result because fragment() is translated into the fragment parameter of patchDescendant by StateAccessTransform.
fragment()
fragment
patchDescendant
StateAccessTransform
@Adaptive fun tc(vararg instructions : AdaptiveInstruction) { T1(fragment().instructions.firstOrNullIfInstance<Test>()?.i ?: 999) }
The basic solution would be to use the declaring fragment.
However, what does fragment() mean in this code.
@Adaptive fun a() { row { fragment().also { println(it) } } }
The text was updated successfully, but these errors were encountered:
toth-istvan-zoltan
No branches or pull requests
This code produces wrong result because
fragment()
is translated into thefragment
parameter ofpatchDescendant
byStateAccessTransform
.The basic solution would be to use the declaring fragment.
However, what does
fragment()
mean in this code.The text was updated successfully, but these errors were encountered: