Fix #1171.
Merge pull request #1173 from EXetoC/pfuture-nested-type-param

Fix #1171.