Fix #970: Exporting of (case) class fields declared in constructor
Merge pull request #976 from gzm0/fix-param-export

Fix #970: Exporting of (case) class fields declared in constructor