Path dependent types fixes for class parameters #SCL-5790 Fixed