Support 'has' statement with default values
Merge commit 'f21f047de7ed2cf4440d44c11e16c8041bd4f0ec'