Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract widget macro parsing from expansion #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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.

None yet

2 participants