Fixup funcAttributes.
fix Issue 12703 - final class rejects members initialization
Merge pull request #3528 from 9rnsr/fix12703

[REG2.065] Issue 12703 - final class rejects members initialization
Merge pull request #3506 from AndrejMitrovic/FixupFuncAttrib

Fixup funcAttributes.