void () { // both are dataclasses with disabled `init` doTest("Any", """ from dataclasses import dataclass, InitVar @dataclass(init=False) class A: a: InitVar[int] @dataclass(init=False) class B(A): b: InitVar[str] def __post_init__(self, a, b): expr = a"""); }