mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
Pros: * <obinit> no longer emitted: one less function per class * Parameters to the primary constructor, if any, are no longer referred to out of scope * Simple primary constructor `val` and `var` declarations work as expected Cons: * If there are multiple secondary constructors, no primary constructor and long init blocks, there could be considerable duplicate extraction of those init blocks. Hopefully this case is very rare.