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

Fix crash in untyped top-level declarations. #22

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

patrickt
Copy link
Contributor

@patrickt patrickt commented Nov 4, 2016

Declarations can be untyped, so use AttemptExprAsType instead of Dump.
Bumps coverage to 45%. Also clarifies the purpose of what I thought was
a morally dubious hack but is actually perfectly reasonable.

@patrickt patrickt force-pushed the bugfix/untyped-var-declarations branch 2 times, most recently from 40aedc6 to db92bca Compare November 4, 2016 17:26
Copy link
Contributor

@bohde bohde left a comment

Choose a reason for hiding this comment

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

Needs merge conflict to be resolved, but looks good.

Declarations can be untyped, so use AttemptExprAsType instead of Dump.
Bumps coverage to 45%.
@patrickt patrickt force-pushed the bugfix/untyped-var-declarations branch from db92bca to 12dba2f Compare November 4, 2016 17:39
@patrickt patrickt merged commit 8caf5d0 into master Nov 4, 2016
@bohde bohde deleted the bugfix/untyped-var-declarations branch November 4, 2016 22:42
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