fix Issue 13082 - Spurious error message with failed call to class ctor
Merge pull request #3734 from 9rnsr/fix13082

Issue 13082 - Spurious error message with failed call to class ctor