pick error code

pull/7738/head
Richard Harris 7 years ago
parent ac7d3d54e1
commit 9af2017315

@ -788,7 +788,7 @@ export default class Component {
if (declarator.id.type !== 'Identifier') {
component.error(declarator, {
code: 'todo',
code: 'destructured-prop',
message: `props binding in destructured declaration is not yet supported`
});
}

Loading…
Cancel
Save