Skip to content

Conversation

@euclio
Copy link
Contributor

@euclio euclio commented May 8, 2021

This commit separates the parsing step from the expansion step in the widget macro. It makes it clearer which items are required vs optional, and improves the error messages.

@euclio euclio force-pushed the extract-parsing branch 2 times, most recently from 77732f0 to 92daed1 Compare May 8, 2021 20:44
@euclio euclio force-pushed the extract-parsing branch from 92daed1 to 1cb9973 Compare May 8, 2021 21:05
Copy link
Owner

@antoyo antoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the long delay.

self.properties_model_map = Some(view.properties_model_map);
new_items.push(view.item);
self.widgets.insert(self.root_widget.clone().expect("root widget"),
self.root_widget_type.clone().expect("root widget type"));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing indent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants