fix Issue 12436 - Opaque struct parameter type should not be allowed
Merge pull request #3584 from 9rnsr/fix12436

Issue 12436 - Opaque struct parameter type should not be allowed