fix Issue 3032 - No stack allocation for "scope c = new class Object {};"
Merge pull request #3593 from 9rnsr/fix3032

Issue 3032 - No stack allocation for "scope c = new class Object {};"