-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
[core] Constructor and super constructor invocations should be first statements #685
Comments
@sergey-wowwow thanks for noticing this! TODO: use these strings as variable names :) |
@skylot |
@sergey-wowwow |
@skylot
public /* synthetic */ C4220b(java.lang.String str, java.lang.String str2, java.lang.String str3, boolean z, int i, kotlin.p729e.p731b.C14068g gVar) {
java.lang.String str4 = "";
if ((i & 2) != 0) {
str2 = str4;
}
if ((i & 4) != 0) {
str3 = str4;
}
if ((i & 8) != 0) {
z = false;
}
this(str, str2, str3, z);
} |
And I actually never seen any cycles before constructor and super constructor calls, so it shouldn't be too much of changes |
@sergey-wowwow
Hope it will help :) |
@skylot |
Example in class
com.mercadolibre.android.cx.support.yoshi.p271a.p272a.C5475c
(original classcom.mercadolibre.android.cx.support.yoshi.a.a.c
), but tons of examplesUsually all those statements before constructor and super constructor invocations are synthetic, and can be placed after invocs or even removed.
I know about that bug for a long time, but only now I noticed that it prevents binding resolutions :(
Example apk: https://drive.google.com/file/d/17kvvsl22CFsFzpcOUO4f0Szl_rdjTT1T/view?usp=sharing
The text was updated successfully, but these errors were encountered: