fix bug in shared parameters #484
import
Merge branch 'master' into defaulttypeargs