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

Import UIKit to retry expression evaluation #232

Merged
merged 1 commit into from
Mar 6, 2018
Merged

Conversation

kastiglione
Copy link
Contributor

@kastiglione kastiglione commented Mar 6, 2018

When an EvaluateExpression() call fails, inspect the resulting SBError to see whether the failure might be resolvable by importing missing modules. For now, this assumes importing UIKit will handle all cases. Chisel may need to import other modules too, but those can be added on a case by case basis.

This should handle many of the evaluation errors that happen in Swift projects.

Resolves #186 #208 #222

@kastiglione
Copy link
Contributor Author

This fixes a problem with alamborder.

@kastiglione kastiglione merged commit 6a3e4fb into master Mar 6, 2018
@kastiglione kastiglione deleted the auto-import branch March 6, 2018 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants