Fixes chaining after inline implicit objects
Merge pull request #3331 from xixixao/inlineobjectchain

Fixes chaining after inline implicit objects